Skip to content

Commit 43fb6ad

Browse files
Travis tweaks
1 parent 22dead7 commit 43fb6ad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ php:
77
- hhvm
88

99
before_script:
10-
- composer self-update
11-
- composer install --no-interaction --prefer-source --dev
10+
- travis_retry composer self-update
11+
- travis_retry composer install --no-interaction --prefer-source --dev
1212
- mkdir -p build/logs
1313

1414
script:
15-
- vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
15+
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit --verbose; fi;'
16+
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml; fi;'
1617

1718
after_success:
1819
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.5" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'

0 commit comments

Comments
 (0)