summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 770ba8dbc2d..97720cf118a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,10 +53,10 @@ install:
script:
- if test "x$BUILD" = xmeson; then
meson _build -Dbuild-tests=true;
- ninja -C _build;
- ninja -C _build test;
+ ninja -C _build || travis_terminate 1;
+ ninja -C _build test || travis_terminate 1;
fi
- if test "x$BUILD" = xscons; then
- scons;
- scons check;
+ scons || travis_terminate 1;
+ scons check || travis_terminate 1;
fi