]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
tests: add `set -e` specifier to bail early on build run
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 10 Jul 2017 09:01:56 +0000 (12:01 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 11 Jul 2017 07:38:25 +0000 (10:38 +0300)
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>
.travis.yml

index 2aa2eeff05d9785ca8060ead277075040ae4aa26..7aed15dafdb9fa2ccc4a4717942a910d93bb8ce9 100644 (file)
@@ -16,6 +16,7 @@ os:
 before_install:\r
   - echo $LANG\r
   - echo $LC_ALL\r
+  - set -e\r
 \r
 install:\r
   - sh autogen.sh\r