Skip to content

Commit

Permalink
ci(travis): add missed quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Dec 8, 2020
1 parent 972d883 commit fd1cdf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
install: yarn
script:
- yarn build
- if [ $CI_TEST != "false" ]; then
- if [ "$CI_TEST" != "false" ]; then
yarn test;
fi
- &build
Expand Down Expand Up @@ -59,19 +59,19 @@ jobs:
- <<: *test
if: branch = master AND type != pull_request AND env(CI_TEST) != false
before_script:
- if [ $CC_TEST_REPORTER_ID != "" ]; then
- if [ "$CC_TEST_REPORTER_ID" != "" ]; then
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter;
chmod +x ./cc-test-reporter;
./cc-test-reporter before-build;
fi
script:
- if [ $CC_TEST_REPORTER_ID != "" ]; then
- if [ "$CC_TEST_REPORTER_ID" != "" ]; then
yarn test:report;
else
yarn test;
fi
after_script:
- if [ $CC_TEST_REPORTER_ID != "" ]; then
- if [ "$CC_TEST_REPORTER_ID" != "" ]; then
./cc-test-reporter format-coverage -t lcov ./coverage/lcov.info;
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
fi
Expand Down

0 comments on commit fd1cdf2

Please sign in to comment.