travis: fix coverage upload

This commit is contained in:
Tomas Votruba 2018-07-25 15:30:36 +02:00
parent a84586086b
commit db8d8e8ee8

View File

@ -33,11 +33,12 @@ script:
fi fi
after_script: after_script:
# upload coverage to Coveralls.io
# upload coverage.xml to Coveralls
- | - |
if [[ $PHPUNIT_FLAGS == true ]]; then if [[ $PHPUNIT_FLAGS != "" ]]; then
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar;
php coveralls.phar --verbose php php-coveralls.phar --verbose;
fi fi
# split monorepo to packages - only on merge to master # split monorepo to packages - only on merge to master