2015-11-19 14:56:26 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2015-11-19 14:58:00 +00:00
|
|
|
os:
|
2020-09-03 07:00:17 +00:00
|
|
|
- freebsd
|
2015-11-19 14:58:00 +00:00
|
|
|
- linux
|
|
|
|
- osx
|
2015-11-19 15:14:20 +00:00
|
|
|
|
2020-10-20 15:52:34 +00:00
|
|
|
arch:
|
|
|
|
- amd64
|
|
|
|
- s390x
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
if [[ ${TRAVIS_CPU_ARCH} == 's390x' ]]; then
|
|
|
|
sudo apt-get update && sudo apt-get install -y libncursesw5-dev ;
|
|
|
|
fi
|
|
|
|
|
2020-09-08 14:17:31 +00:00
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
# clang might warn about C11 generic selections in isnan()
|
|
|
|
- CFLAGS=-Wno-c11-extensions ./configure --enable-werror
|
2020-10-15 18:33:26 +00:00
|
|
|
- make -k
|
2020-09-08 14:17:31 +00:00
|
|
|
- CFLAGS=-Wno-c11-extensions make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-werror
|