Files
json-c/.travis.yml
Alexandru Ardelean ba8625a701 tests: add set -e specifier to bail early on build run
Seems that test1 is failing, but travis is not catching it.
Likely, this is because the `cppcheck` returns success
and we need to bail on the `make check` step.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-11 10:38:25 +03:00

33 lines
350 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
script:
- make
after_success:
- make check
- cppcheck --quiet *.h *.c tests/