cryb-otp/.travis.yml
Dag-Erling Smørgrav 834040505c Disable type limit warnings on Travis.
These warnings can be triggered by defensive code and assertions, such as range checks on parameters.  I'd rather silence the warning than remove the check, even if it's optimized away.
2022-09-16 15:26:25 +02:00

25 lines
502 B
YAML

dist: xenial
sudo: required
language: c
compiler:
- clang
- gcc
env:
global:
- CFLAGS="-Wno-unused-result -Wno-type-limits"
- CRYB_TO=0.20190326
before_install:
- sudo apt-get update -q
- sudo apt-get install -y pkg-config
- wget https://github.com/cryb-to/cryb-to/releases/download/${CRYB_TO}/cryb-to_${CRYB_TO}-1_amd64.deb
- sudo dpkg -i cryb-to_${CRYB_TO}-1_amd64.deb
before_script:
- ./autogen.sh
- ./configure --enable-developer-warnings --enable-werror
script:
- make check