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

When building fails, we should not run the tests. They clutter
the output.
This commit is contained in:
Thomas Haller 2016-02-16 12:35:55 +01:00
parent dec682f6d1
commit ad45d232fe

View file

@ -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: