From 1cf7d6b131c3398fdc2197445427dae14b66cfcf Mon Sep 17 00:00:00 2001 From: Christoph Schuler Date: Wed, 25 Jan 2017 09:42:58 +0100 Subject: [PATCH] try to enable TRAVIS build by setting sslVerify to "false" --- test/test-clone.sh | 5 ----- test/testhelpers.sh | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/test/test-clone.sh b/test/test-clone.sh index 604554a3..92dda7a1 100755 --- a/test/test-clone.sh +++ b/test/test-clone.sh @@ -144,11 +144,6 @@ begin_test "clone ClientCert" ( set -e - if $TRAVIS; then - echo "Skipping SSL tests, Travis has weird behaviour in validating custom certs, test locally only" - exit 0 - fi - reponame="test-cloneClientCert" setup_remote_repo "$reponame" clone_repo_clientcert "$reponame" "$reponame" diff --git a/test/testhelpers.sh b/test/testhelpers.sh index e0a7e468..3acd3fa5 100644 --- a/test/testhelpers.sh +++ b/test/testhelpers.sh @@ -387,6 +387,7 @@ setup() { git config --global http.sslcainfo "$LFS_CERT_FILE" git config --global http.$LFS_CLIENT_CERT_URL/.sslKey "$LFS_CLIENT_KEY_FILE" git config --global http.$LFS_CLIENT_CERT_URL/.sslCert "$LFS_CLIENT_CERT_FILE" + git config --global http.$LFS_CLIENT_CERT_URL/.sslVerify "false" ( grep "git-lfs clean" "$REMOTEDIR/home/.gitconfig" > /dev/null && grep "git-lfs filter-process" "$REMOTEDIR/home/.gitconfig" > /dev/null ) || { echo "global git config should be set in $REMOTEDIR/home"