This is an automated email from the ASF dual-hosted git repository. luckychen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push: new 5de6b6b [Travis] Fail travis if Android build fails (#2911) 5de6b6b is described below commit 5de6b6b28cc86cf0474d91e2695fd3eacdeb84aa Author: YorkShen <shenyua...@gmail.com> AuthorDate: Tue Sep 17 10:18:28 2019 +0800 [Travis] Fail travis if Android build fails (#2911) --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e2c6a2..d9f4191 100644 --- a/.travis.yml +++ b/.travis.yml @@ -137,8 +137,8 @@ script: esac if npm run danger -- ci --dangerfile ./dangerfile-android.js | grep -q "hasAndroidFile" ; then cd android - ./gradlew clean assembleRelease -PbuildRuntimeApi=true ${GRADLE_ABI} --info - ./gradlew assembleRelease -PbuildRuntimeApi=false ${GRADLE_ABI} --info + ./gradlew clean assembleRelease -PbuildRuntimeApi=true ${GRADLE_ABI} --info || exit 1 + ./gradlew assembleRelease -PbuildRuntimeApi=false ${GRADLE_ABI} --info || exit 1 fi ;; "jsfm" )