Don't enable warnings on osx

This commit is contained in:
Simon Arlott 2019-09-15 12:56:55 +01:00
parent 400e650809
commit f47ac7081b
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -96,7 +96,8 @@ cache:
script: script:
- bash autogen.sh - 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 - make -j4
- "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi" - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
- make install - make install