Skip to content

Commit b802985

Browse files
committed
Only upload coverage for PHP 5.6 tests
1 parent af7b9b8 commit b802985

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ before_script:
2222
- composer install --no-interaction
2323

2424
after_script:
25-
- wget https://scrutinizer-ci.com/ocular.phar
26-
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
25+
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
2726

2827
notifications:
2928
irc: "irc.freenode.org#phpdocumentor"

0 commit comments

Comments
 (0)