Stop travis building when an error occurred (#3838)
Co-authored-by: fariel huang <farielclaire@gmail.com>
This commit is contained in:
@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user