2015-12-09 12:16:21 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- if [ $TRAVIS_OS_NAME == "linux" ]; then
|
|
|
|
sudo apt-get -qq update;
|
|
|
|
sudo apt-get -qq install byacc flex;
|
|
|
|
elif [ $TRAVIS_OS_NAME == "osx" ]; then
|
|
|
|
brew update;
|
2016-12-06 14:25:52 +00:00
|
|
|
brew install byacc flex openssl;
|
|
|
|
export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS";
|
|
|
|
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS";
|
2015-12-09 12:16:21 +00:00
|
|
|
fi
|