Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 22d0fee

Browse files
Travis tweaks
1 parent 98a3223 commit 22d0fee

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.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)