From: Jason Ish Date: Sun, 1 Oct 2017 10:28:47 +0000 (+0100) Subject: travis: hook check-setup.sh into the build X-Git-Tag: suricata-4.0.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2923%2Fhead;p=thirdparty%2Fsuricata.git travis: hook check-setup.sh into the build Only do it for one build, for now use the one that also enables Rust. --- diff --git a/.travis.yml b/.travis.yml index 9b01f015f4..71c9c1a940 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,6 +65,7 @@ matrix: - *default-cflags - ENABLE_RUST="yes" - ARGS="--enable-rust --enable-rust-strict" + - DO_CHECK_SETUP_SCRIPTS="yes" # Linux, gcc, Rust (1.15.0 - oldest supported). - os: linux compiler: gcc @@ -153,6 +154,10 @@ script: else make ${j} check fi + - | + if [[ "$DO_CHECK_SETUP_SCRIPTS" == "yes" ]]; then + (cd scripts && ./check-setup.sh) + fi before_install: - export PATH=$HOME/.cargo/bin:$PATH