1language: c 2 3os: 4 - linux 5 - osx 6 7compiler: 8 - clang 9 - gcc 10 11addons: 12 apt: 13 packages: 14 libssl-dev 15 16install: 17 - wget "https://github.com/alfredh/pytools/raw/master/ccheck.py" 18 19script: 20 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 21 make EXTRA_CFLAGS=-Werror CCACHE=; 22 fi 23 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 24 make EXTRA_CFLAGS="-I/usr/local/opt/openssl/include -Werror" EXTRA_LFLAGS="-L/usr/local/opt/openssl/lib" CCACHE=; 25 fi 26 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi 27