Skip to content

Commit 9c48c0a

Browse files
committed
Generate coverage only for main job
1 parent 5dccf68 commit 9c48c0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ install:
3535
- if [ "$deps" == low ]; then travis_retry composer update --no-interaction --prefer-dist --prefer-lowest; fi;
3636

3737
script:
38-
- vendor/bin/phpunit --coverage-clover=coverage.clover --exclude-group integration
38+
- if [[ "$TRAVIS_PHP_VERSION" == '7.1' && "$deps" != low ]]; then vendor/bin/phpunit --coverage-clover=coverage.clover --exclude-group integration; fi;
39+
- if [[ "$TRAVIS_PHP_VERSION" != '7.1' || "$deps" == low ]]; then vendor/bin/phpunit --exclude-group integration; fi;
3940

4041
after_script:
4142
- if [[ "$TRAVIS_PHP_VERSION" == '7.1' && "$deps" != low ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi;

0 commit comments

Comments
 (0)