travis: use path to openssl from brew

This commit is contained in:
Alfred E. Heggestad 2016-09-17 12:08:15 +02:00
parent 803bc02e84
commit 75f0d7a170

View file

@ -12,12 +12,16 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install openssl;
brew link openssl --force;
fi
install:
- wget "https://github.com/alfredh/pytools/raw/master/ccheck.py"
script:
- make EXTRA_CFLAGS=-Werror
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make EXTRA_CFLAGS=-Werror;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
make EXTRA_CFLAGS="-I/usr/local/opt/openssl/include -Werror" EXTRA_LFLAGS="-L/usr/local/opt/openssl/lib";
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi