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; 18 fi 19