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
This commit is contained in:
Louis Pontoise committed 2023-05-14 01:21:52 +02:00
1 parent 180ba935b1
commit e77f3ed44a
1 file changed
+1
+1
View File
@@ -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: