Skip to content

Commit d854530

Browse files
committed
update Travis configuration
* run builds on the container based infrastructure * allow to finish as fast as possible (when either a mandatorybuild failed or when only builds allowed to fail have not completed yet) * additionally run tests on PHP 7.0, HHVM and HHVM Nightly where applicable * send code coverage reports in HHVM builds too
1 parent 950776a commit d854530

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8+
- 7.0
9+
- hhvm
10+
- hhvm-nightly
11+
12+
matrix:
13+
fast_finish: true
14+
allow_failures:
15+
- php: hhvm-nightly
816

917
install:
1018
- composer install
1119

1220
script:
1321
- phpunit --coverage-clover=coverage.clover
14-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi'
15-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi'
22+
- wget https://scrutinizer-ci.com/ocular.phar
23+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 commit comments

Comments
 (0)