remove coverage from integration run, upload to codecov

This commit is contained in:
Benjamin Brahmer 2019-03-28 16:03:37 +01:00 committed by Sean Molenaar
parent bb2abc8262
commit 373cc82f14
2 changed files with 4 additions and 1 deletions

View File

@ -58,6 +58,9 @@ script:
after_failure:
- cat ../../data/nextcloud.log
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
firefox: "latest-beta"
postgresql: "9.6"

View File

@ -190,6 +190,6 @@ test:
cd js && $(npm) run test
./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover
# \Test\TestCase is only allowed to access the db if TRAVIS environment variable is set
env TRAVIS=1 ./vendor/phpunit/phpunit/phpunit -c phpunit.integration.xml --coverage-clover build/php-unit.clover
env TRAVIS=1 ./vendor/phpunit/phpunit/phpunit -c phpunit.integration.xml
$(MAKE) phpcs
./bin/tools/generate_authors.php