From 5a501b586a3b772ce6bfb47d21200c2276c57991 Mon Sep 17 00:00:00 2001 From: gggeek Date: Sat, 23 Jun 2018 18:08:06 +0100 Subject: [PATCH] add codecov to travis builds --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2f124abf..ec2bbdc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,6 +120,8 @@ after_script: - if [ "$CODE_COVERAGE" = "1" -a -f coverage.clover ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi # Upload code-coverage to CodeClimate. NB: this works only when the CODECLIMATE_REPO_TOKEN env var has been set (we do it in the Travis config via the GUI) #- if [ "$CODE_COVERAGE" = "1" -a -f coverage.clover ]; then ./vendor/bin/test-reporter --coverage-report=coverage.clover; fi + # Upload code-coverage to CodeCov + - if [ "$CODE_COVERAGE" = "1" -a -f coverage.clover ]; then bash <(curl -s https://codecov.io/bash); fi # reduce depth (history) of git checkout git: