Skip to content

Commit 1cf7d6b

Browse files
committed
try to enable TRAVIS build by setting sslVerify to "false"
1 parent 3f4c7a7 commit 1cf7d6b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

test/test-clone.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@ begin_test "clone ClientCert"
144144
(
145145

146146
set -e
147-
if $TRAVIS; then
148-
echo "Skipping SSL tests, Travis has weird behaviour in validating custom certs, test locally only"
149-
exit 0
150-
fi
151-
152147
reponame="test-cloneClientCert"
153148
setup_remote_repo "$reponame"
154149
clone_repo_clientcert "$reponame" "$reponame"

test/testhelpers.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ setup() {
387387
git config --global http.sslcainfo "$LFS_CERT_FILE"
388388
git config --global http.$LFS_CLIENT_CERT_URL/.sslKey "$LFS_CLIENT_KEY_FILE"
389389
git config --global http.$LFS_CLIENT_CERT_URL/.sslCert "$LFS_CLIENT_CERT_FILE"
390+
git config --global http.$LFS_CLIENT_CERT_URL/.sslVerify "false"
390391

391392
( grep "git-lfs clean" "$REMOTEDIR/home/.gitconfig" > /dev/null && grep "git-lfs filter-process" "$REMOTEDIR/home/.gitconfig" > /dev/null ) || {
392393
echo "global git config should be set in $REMOTEDIR/home"

0 commit comments

Comments
 (0)