From ad45d232fee8157baadb799f3867ddec95e2ef91 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 16 Feb 2016 12:35:55 +0100 Subject: [PATCH] travis: update .travis.yml not to run tests when build fails When building fails, we should not run the tests. They clutter the output. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 44ec6acd60..b907bf13ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,10 @@ before_install: - sudo apt-get update - sudo apt-get install libnl-3-dev libndp-dev automake -script: - - sh autogen.sh --with-systemd-logind=no --enable-more-warnings=no - - make -j4 - - ./contrib/travis/travis-check.sh +script: | + sh autogen.sh --with-systemd-logind=no --enable-more-warnings=no && + make -j4 && + ./contrib/travis/travis-check.sh addons: coverity_scan: