imv/.travis.yml
Dmitrij D. Czarkoff 50c95ac9dd Add explicit CFLAGS to .travis.yml
Include "-Werror" among flags, so that it is easier to catch compiler warnings.
2016-01-12 22:39:50 +01:00

26 lines
402 B
YAML

sudo: required
dist: trusty
language: c
compiler:
- clang
- gcc
env:
- V=yes CFLAGS="-W -Wall -Wextra -Wpedantic -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -Werror"
script:
- make
# - make check
notifications:
email: false
addons:
apt:
packages:
- libfreeimage-dev
- libsdl2-ttf-dev
# - libcmocka-dev