Commit b29e528b4455e4fbe1996de00059315d17560db3

Carlos Martín Nieto 2015-06-12T12:17:03

travis: fail if we fail the push tests These tests were not being taken into consideration for the failure of the test. They've been failing for a while now, but we hadn't noticed as Travis was reporting the builds successful.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/script/cibuild.sh b/script/cibuild.sh
index 8983dcc..7fc80b7 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -45,8 +45,8 @@ export GITTEST_REMOTE_SSH_PASSPHRASE=""
 
 if [ -e ./libgit2_clar ]; then
     ./libgit2_clar -sonline::push -sonline::clone::ssh_cert &&
-    ./libgit2_clar -sonline::clone::ssh_with_paths
+    ./libgit2_clar -sonline::clone::ssh_with_paths || exit $?
     if [ "$TRAVIS_OS_NAME" = "linux" ]; then
-        ./libgit2_clar -sonline::clone::cred_callback
+        ./libgit2_clar -sonline::clone::cred_callback || exit $?
     fi
 fi