Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit a89bd92

Browse files
committed
Some CI fixes
1 parent 0a68a4d commit a89bd92

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ matrix:
1212
include:
1313
- php: 5.5
1414
- php: 5.6
15+
env:
16+
- EXECUTE_DEPLOYMENT=true
1517
- php: 7.0
1618
- php: hhvm
1719
allow_failures:
@@ -20,16 +22,13 @@ matrix:
2022
before_install:
2123
- openssl aes-256-cbc -K $encrypted_f21abcc37842_key -iv $encrypted_f21abcc37842_iv
2224
-in secrets.tar.enc -out secrets.tar -d
25+
- phpenv config-rm xdebug.ini
2326
- travis_retry composer self-update
2427

2528
install:
26-
- travis_retry composer install --optimize-autoloader --prefer-dist --no-interaction
29+
- travis_retry composer install --prefer-dist --no-interaction
2730
- composer info -i
2831

29-
script:
30-
- here call phpunit
31-
32-
after_script:
33-
- something more
34-
3532
after_success:
33+
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev --prefer-dist --no-interaction ; fi
34+
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi

0 commit comments

Comments
 (0)