From a403cf21601ae18f7dc6499dafcbb5bf517fb175 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 21 2017 10:56:07 +0000 Subject: Fail early if the setup fails --- diff --git a/run_ci_tests.sh b/run_ci_tests.sh index 8579c76..f59df15 100755 --- a/run_ci_tests.sh +++ b/run_ci_tests.sh @@ -1,3 +1,5 @@ +set -e + if [ -n "$REPO" -a -n "$BRANCH" ]; then git remote rm proposed || true git gc --auto @@ -44,7 +46,6 @@ trap deactivate SIGINT SIGTERM EXIT # Reload where the nosetests app is (within the venv) hash -r -set -e python setup.py build