travis: early terminate if tests fail

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2019-05-16 11:33:15 +02:00
parent fbe708ac4f
commit 891ba88f23
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

View File

@ -31,5 +31,5 @@ script:
- sudo make -j install; sudo cp fuse-overlayfs /sbin || travis_terminate 1; - 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; 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; - (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/fedora-installs.sh || travis_terminate 1;
- sudo tests/unlink.sh - sudo tests/unlink.sh || travis_terminate 1;