Skip to content

Commit 86921ac

Browse files
Corrected coverage uploader invocation
2 parents 68b291b + 4db583b commit 86921ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ script:
5252

5353
after_success:
5454
# If coverage file is generated then upload it to Codacy (requires CODACY_PROJECT_TOKEN= env var set).
55-
- if [ -f /tmp/coverage.xml ]; then vendor/bin/codacycoverage clover /tmp/coverage.xml ; fi
55+
- if [[ -f /tmp/coverage.xml ]]; then vendor/bin/codacycoverage clover /tmp/coverage.xml ; fi
5656
# Scrunitizer-CI
57-
- if [ -f /tmp/coverage.xml ]; then wget --output-document=/tmp/ocular.phar https://scrutinizer-ci.com/ocular.phar && php /tmp/ocular.phar code-coverage:upload --format=php-clover /tmp/coverage.xml ; fi
57+
- if [[ -f /tmp/coverage.xml ]]; then wget --output-document=/tmp/ocular.phar https://scrutinizer-ci.com/ocular.phar && php /tmp/ocular.phar code-coverage:upload --format=php-clover /tmp/coverage.xml ; fi
58+

0 commit comments

Comments
 (0)