Add Travis install of OpenSSL

This commit is contained in:
Ian Craggs 2017-01-30 16:59:21 +00:00
parent 16cfc0cc05
commit c2b1298576
2 changed files with 16 additions and 1 deletions

View File

@ -7,6 +7,9 @@ compiler:
os:
- linux
- osx
script:
- make
before_install:
- ./travis-install.sh

12
travis-install.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get update -qq
sudo apt-get install -y libssl-dev
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install openssl
fi