From: Simon Arlott Date: Sun, 15 Sep 2019 11:56:55 +0000 (+0100) Subject: Don't enable warnings on osx X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/f47ac7081bc719c07c374d15834cfd3516a7ce4d Don't enable warnings on osx --- diff --git a/.travis.yml b/.travis.yml index 8256fc01..625ea507 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,7 +96,8 @@ cache: script: - bash autogen.sh - - CC=$COMPILER CFLAGS="-Werror -Wno-unused-value -Wno-unused-parameter" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings + - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then CC=$COMPILER CFLAGS=\"-Werror -Wno-unused-value -Wno-unused-parameter\" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings; fi" + - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then CC=$COMPILER ./configure --with-shared-sqlite; fi" - make -j4 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi" - make install