diff options
author | brantje <brantje@gmail.com> | 2017-01-06 15:12:42 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2017-01-06 15:12:42 +0300 |
commit | dffc508cc89931c4962d999a80b4923ccba5be8b (patch) | |
tree | 5c495b9822dcc5c7d702739e4901748b76c8abe4 /.travis.yml | |
parent | 6135d25146b80f27e518efe2b166544fd12e8630 (diff) |
Revert "Fix failing tests if token is not set"
This reverts commit 6135d25146b80f27e518efe2b166544fd12e8630.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 2a93ffde..e6f06c97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,10 +66,8 @@ script: # Create coverage report - - sh -c "if [ -z "${CODACY_PROJECT_TOKEN+xxx}" ]; then echo 'Codacy token is not set'; fi" - - sh -c "if [ -z "${CODACY_PROJECT_TOKEN}" -a '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php vendor/bin/codacycoverage -v clover coverage.clover; fi" - - sh -c "if [ -z "${SCRUTINIZER_TOKEN+xxx}" ]; then echo 'Scrutinizer token is not set'; fi" - - sh -c "if [ -z "${SCRUTINIZER_TOKEN}" -a '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php ocular.phar code-coverage:upload --access-token="$SCRUTINIZER_TOKEN" --format=php-clover coverage.clover; fi" + - sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php vendor/bin/codacycoverage -v clover coverage.clover; fi" + - sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php ocular.phar code-coverage:upload --access-token="$SCRUTINIZER_TOKEN" --format=php-clover coverage.clover; fi" - sh -c "if [ '$JSTESTS' = '1' ]; then grunt jshint; fi" |