File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ install:
48
48
- if [ "$FULL_VALIDATE" == "true" ]; then npm run lint && npm run test:circular; fi
49
49
50
50
script :
51
+ - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
51
52
- if [ "$FULL_VALIDATE" == "true" ] && [ -n "DANGER_GITHUB_API_TOKEN" ]; then echo {} > ./.babelrc && npx danger; fi
52
53
- npm run test_check
53
54
- npm test
@@ -57,4 +58,4 @@ script:
57
58
58
59
after_success :
59
60
- if [ "$FULL_VALIDATE" == "true" ]; then npm run test:cover && npx nyc report --reporter=text-lcov | npx coveralls; fi
60
- - if [ "$FULL_VALIDATE" == "true" ] && [ "$TRAVIS_BRANCH " == "master" ]; then cd docs_app && chmod 755 scripts/deploy-to-firebase.sh && yarn deploy-production; fi
61
+ - if [ "$FULL_VALIDATE" == "true" ] && [ "$BRANCH " == "master" ]; then cd docs_app && chmod 755 scripts/deploy-to-firebase.sh && yarn deploy-production; fi
You can’t perform that action at this time.
0 commit comments