From 70dbb9532c54d4674bf434ed971610ab578e1de4 Mon Sep 17 00:00:00 2001 From: Joerg-Christian Boehme Date: Sun, 28 Oct 2018 02:02:05 +0100 Subject: [PATCH] Fix travis build --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 611edde7d..2e9d2bb26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,13 @@ addons: - libusb-1.0-0-dev - libbz2-dev - libgnutls-dev - - libcurl4-gnutls-dev - gettext +before_install: + # libcurl4-gnutls-dev should be installed after git clone because this package breaks git clone with following error: + # fatal: unable to access 'https://github.com/das-labor/neopg.git/': server certificate verification failed. CAfile: none CRLfile: none + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libcurl4-gnutls-dev; fi + matrix: include: - compiler: gcc @@ -276,6 +280,7 @@ install: brew link --force gettext # Already installed: cmake boost else + git config --global http.sslCAinfo /etc/ssl/certs/ca-certificates.crt # This is needed because libcurl4-gnutls-dev pkgs breaks git clone with a certificate error. git clone https://github.com/randombit/botan.git (cd botan; git checkout 2.3.0;