File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,6 @@ script:
52
52
53
53
after_success :
54
54
# If coverage file is generated then upload it to Codacy (requires CODACY_PROJECT_TOKEN= env var set).
55
- - [[ -f /tmp/coverage.xml ]] && then vendor/bin/codacycoverage clover /tmp/coverage.xml
55
+ - if [ -f /tmp/coverage.xml ]; then vendor/bin/codacycoverage clover /tmp/coverage.xml ; fi
56
56
# Scrunitizer-CI
57
- - [[ -f /tmp/coverage.xml ]] && { 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 }
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
You can’t perform that action at this time.
0 commit comments