Skip to content

Commit 3441c28

Browse files
committed
Modify .travis.yml
1 parent 14a112f commit 3441c28

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,27 @@ sudo: required
1010

1111
install: composer install
1212

13+
matrix:
14+
allow_failures:
15+
- php: hhvm
16+
1317
before_script:
1418
# navigate out of module directory to prevent blown stack by recursive module lookup
15-
- wget https://phar.phpunit.de/phpunit.phar
16-
- chmod +x phpunit.phar
17-
- sudo mv phpunit.phar /usr/local/bin/phpunit
19+
- wget https://phar.phpunit.de/phpunit-5.6.phar
20+
- chmod +x phpunit-5.6.phar
21+
- sudo mv phpunit-5.6.phar /usr/local/bin/phpunit
1822
- phpunit --version
1923

2024
- wget http://getcomposer.org/composer.phar
2125
- php composer.phar install
22-
- php composer.phar require satooshi/php-coveralls
26+
- php composer.phar require php-coveralls/php-coveralls
2327

2428
script:
2529
- mkdir -p build/logs
2630
- phpunit -c phpunit.xml.dist
31+
- phpunit --coverage-clover build/logs/clover.xml
2732

2833
after_script:
29-
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then travis_retry php vendor/bin/coveralls -v; fi
30-
- if [[ "$TRAVIS_PHP_VERSION" == '7.0' ]]; then travis_retry php vendor/bin/coveralls -v; fi
34+
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then travis_retry php vendor/bin/php-coveralls -v; fi
35+
- if [[ "$TRAVIS_PHP_VERSION" == '7.0' ]]; then travis_retry php vendor/bin/php-coveralls -v; fi
36+
- if [[ "$TRAVIS_PHP_VERSION" == '7.1' ]]; then travis_retry php vendor/bin/php-coveralls -v; fi

0 commit comments

Comments
 (0)