Stop travis building when an error occurred (#3838)

Co-authored-by: fariel huang <farielclaire@gmail.com>
This commit is contained in:
hffariel
2020-06-12 09:16:01 +08:00
committed by GitHub
parent 2ce2cf78ac
commit 75f4df400e

View File

@ -37,7 +37,7 @@ before_script:
script:
- npm run build
after_script:
after_success:
- if [ "$TRAVIS_EVENT_TYPE" != "push" ]; then exit 0; fi
- git config user.name "${GIT_NAME}"
- git config user.email "${GIT_EMAIL}"