chore: update travis config

This commit is contained in:
tangjinzhou 2018-07-21 16:28:08 +08:00
parent da57566533
commit 6d7e48f04d

View File

@ -8,7 +8,7 @@ script:
- cp ./scripts/.npmrc.template $HOME/.npmrc - cp ./scripts/.npmrc.template $HOME/.npmrc
- COVERAGE=true npm run test - COVERAGE=true npm run test
- npm run codecov - npm run codecov
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then npm run pub-with-ci - if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then npm run pub-with-ci; fi
- bash ./scripts/deploy-to-gh-pages.sh - bash ./scripts/deploy-to-gh-pages.sh
env: env:
matrix: matrix: