1language: c 2 3compiler: 4 - clang 5 - gcc 6 7os: 8 - linux 9 - osx 10 11before_install: 12 - if [ $TRAVIS_OS_NAME == "linux" ]; then 13 sudo apt-get -qq update; 14 sudo apt-get -qq install byacc flex; 15 elif [ $TRAVIS_OS_NAME == "osx" ]; then 16 brew update; 17 brew install byacc flex openssl; 18 export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS"; 19 export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"; 20 fi 21