From e77f3ed44a2b668e84847eb0fcd5bab1669359ab Mon Sep 17 00:00:00 2001 From: Louis Pontoise Date: Wed, 10 May 2023 14:19:41 +0200 Subject: [PATCH] ci: travis is running deploy steps on fail build recently i've opened a ticket. it's definitely a bug on their side, but this workaround should fix the issue in the here-and-now --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ef32c49b..bbf11998 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ env: - APP_NAME="$(awk -F ' = ' '/PRODUCT_NAME/ { print $2; }' < config/base.xcconfig)" install: true # disable default install script: scripts/travis.sh +before_deploy: if [[ $TRAVIS_TEST_RESULT == 1 ]]; then echo "build failed; exiting to prevent deploy phases"; sleep 2; exit 1; fi deploy: provider: releases token: