Skip to content

Commit b742173

Browse files
committed
Update .travis.yml
1 parent 0666994 commit b742173

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ sudo: false
1111
install:
1212
- composer install --prefer-source --no-interaction
1313

14-
script: ./vendor/bin/phpunit
14+
script:
15+
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
1516

16-
after_script:
17-
- ./bin/ocular code-coverage:upload --format=php-clover build/logs/clover.xml
17+
after_success:
18+
- wget https://scrutinizer-ci.com/ocular.phar
19+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 commit comments

Comments
 (0)