Skip to content

Commit d1eeada

Browse files
committed
fixed travis
1 parent 21654e8 commit d1eeada

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: php
22

33
php:
4-
- 5.5.9
5-
- 5.6
64
- 7.0
5+
- 7.1
76

87
env:
98
matrix:
@@ -15,9 +14,8 @@ before_script:
1514
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
1615

1716
script:
18-
- vendor/bin/phpunit
19-
- if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi
17+
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
2018

2119
after_script:
22-
- if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
23-
- if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
20+
- wget https://scrutinizer-ci.com/ocular.phar
21+
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml

0 commit comments

Comments
 (0)