Permalink
Browse files

Don't use separate file for uploading code coverage

  • Loading branch information...
1 parent abf471b commit ef616202664fb79a7b9d2da98d317237ecd86c8f @hansott hansott committed Sep 19, 2016
Showing with 5 additions and 6 deletions.
  1. +0 −5 .travis.coverage.sh
  2. +5 −1 .travis.yml
View
@@ -1,5 +0,0 @@
-set -x
-if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]] ; then
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
-fi
View
@@ -29,4 +29,8 @@ script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- - sh .travis.coverage.sh
+ - |
+ if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
+ wget https://scrutinizer-ci.com/ocular.phar
+ php ocular.phar code-coverage:upload --format=php-clover coverage.clover
+ fi

0 comments on commit ef61620

Please sign in to comment.