Skip to content

Commit

Permalink
Fix travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjoe committed Oct 28, 2018
1 parent 0524bd7 commit bc3343c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- sudo apt-get install -y libcurl4-gnutls-dev

matrix:
include:
- compiler: gcc
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit bc3343c

Please sign in to comment.