From f47ac7081bc719c07c374d15834cfd3516a7ce4d Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sun, 15 Sep 2019 12:56:55 +0100 Subject: [PATCH] Don't enable warnings on osx --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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