From 891ba88f23daf3f1f1ec7bf2cfd1047d6d68ea05 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 16 May 2019 11:33:15 +0200 Subject: [PATCH] travis: early terminate if tests fail Signed-off-by: Giuseppe Scrivano --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bed4b78..1809474 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,5 +31,5 @@ script: - sudo make -j install; sudo cp fuse-overlayfs /sbin || travis_terminate 1; - (cd /unionmount-testsuite; sudo ./run --ov --fuse=fuse-overlayfs --xdev) || travis_terminate 1; - (cd /unionmount-testsuite; FUSE_OVERLAYFS_DISABLE_OVL_WHITEOUT=1 sudo -E ./run --ov --fuse=fuse-overlayfs --xdev) || travis_terminate 1; - - sudo tests/fedora-installs.sh - - sudo tests/unlink.sh + - sudo tests/fedora-installs.sh || travis_terminate 1; + - sudo tests/unlink.sh || travis_terminate 1;