blob: 4f4a1406ea236011451e52804fbb44639831d7d2 [file] [log] [blame]
language: c
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
install:
- git clone https://github.com/creytiv/re.git
- cd re && make && sudo make install && cd ..
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ldconfig ; fi
- wget "https://github.com/alfredh/pytools/raw/master/ccheck.py"
script:
- make EXTRA_CFLAGS=-Werror
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi