travis: update .travis.yml not to run tests when build fails

When building fails, we should not run the tests. They clutter
the output.

(cherry picked from commit ad45d232fe)
This commit is contained in:
Thomas Haller 2016-02-16 12:35:55 +01:00 committed by Beniamino Galvani
parent 625033a285
commit 46819838e7

View file

@ -12,7 +12,6 @@ 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
sh autogen.sh --with-systemd-logind=no --enable-more-warnings=no &&
make -j4 &&
./contrib/travis/travis-check.sh