Commit d7674b574384fcdb01495d4945d98e66d4a1cff0

Edward Thomson 2014-11-19T19:12:59

Merge pull request #2722 from libgit2/cmn/disable-ssh-check travis: disable the cert callback on OSX

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 abe31d0..55111b9 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -43,6 +43,9 @@ export GITTEST_REMOTE_SSH_PUBKEY="$HOME/.ssh/id_rsa.pub"
 export GITTEST_REMOTE_SSH_PASSPHRASE=""
 
 if [ -e ./libgit2_clar ]; then
-    ./libgit2_clar -sonline::push -sonline::clone::cred_callback -sonline::clone::ssh_cert &&
+    ./libgit2_clar -sonline::push -sonline::clone::ssh_cert &&
     ./libgit2_clar -sonline::clone::ssh_with_paths
+    if [ "$TRAVIS_OS_NAME" = "linux" ]; then
+        ./libgit2_clar -sonline::clone::cred_callback
+    fi
 fi