URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6341185a4910371b1bcc23c9194dc523fa2e1220
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
6341185 by Peter Wu (peter@xxxxxxxxxxxxx):
travis: skip tests when the build fails
If the build fails, most tests will fail due to lack of tshark.
Terminate early to avoid this. The "before_install" and "before_script"
stages exit immediately with the first failing command, but "script" and
"after_script" stages do not. This is due to "assert: false" in [1].
Explicitly call [2] to achieve the same exit-on-failure behavior.
[1]: https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/stages.rb
[2]: https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/bash/travis_assert.bash
Remove unnecessary "cd" while at it, it only existed to workaround a bug
with the cache directory on Windows.
Change-Id: Iabdffc26d55bd5c08d27e400a67657d5e69a5c60
Reviewed-on: https://code.wireshark.org/review/37013
Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from be63a17 wiretap: move the "fake an IDB for pcap files" code to libpcap.c.
add 6341185 travis: skip tests when the build fails
Summary of changes:
.travis.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)