Skip to content

Commit 5dccf68

Browse files
committed
Send coverage only for main job
1 parent b7d4091 commit 5dccf68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ matrix:
2727
fast_finish: true
2828

2929
before_install:
30-
- if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi
30+
- if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi;
3131
- travis_retry composer self-update
3232

3333
install:
@@ -38,5 +38,5 @@ script:
3838
- vendor/bin/phpunit --coverage-clover=coverage.clover --exclude-group integration
3939

4040
after_script:
41-
- wget https://scrutinizer-ci.com/ocular.phar
42-
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
41+
- if [[ "$TRAVIS_PHP_VERSION" == '7.1' && "$deps" != low ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi;
42+
- if [[ "$TRAVIS_PHP_VERSION" == '7.1' && "$deps" != low ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;

0 commit comments

Comments
 (0)