This repository was archived by the owner on Jan 18, 2018. It is now read-only.
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
- 5.5.9
5
5
- 5.5
6
6
- 5.6
7
+ - 7.0
7
8
- hhvm
8
9
9
10
sudo : false
@@ -12,9 +13,9 @@ install:
12
13
- travis_retry composer install --no-interaction --prefer-source
13
14
14
15
script :
15
- - bash -c 'if [ "$TRAVIS_PHP_VERSION" = = "hhvm " ]; then vendor/bin/phpunit; fi;'
16
- - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm " ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi;'
16
+ - if [ "$TRAVIS_PHP_VERSION" != "5.5.9" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" ! = "5.6 " ]; then vendor/bin/phpunit; fi
17
+ - 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
18
18
19
after_script :
19
- - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm " ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
20
- - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm " ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
20
+ - 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
21
+ - 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
You can’t perform that action at this time.
0 commit comments