From 75f4df400ef4fac27b6135a550e5ed51ef079c47 Mon Sep 17 00:00:00 2001 From: hffariel <527305622@qq.com> Date: Fri, 12 Jun 2020 09:16:01 +0800 Subject: [PATCH] Stop travis building when an error occurred (#3838) Co-authored-by: fariel huang --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 87c49605eb..40a7b28837 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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}"