Files
json-c/.travis.yml
Alexandru Ardelean bc2e30453b build,travis: enable strerror override option in build
To get consistent output between Linux & OS X.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-13 10:27:33 +03:00

33 lines
438 B
YAML

language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- cppcheck
os:
- linux
- osx
before_install:
- echo $LANG
- echo $LC_ALL
- set -e
install:
- sh autogen.sh
before_script:
- ./configure --enable-strerror-override
script:
- make
after_success:
- make check
- if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi