]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
travis: hook check-setup.sh into the build 2923/head
authorJason Ish <ish@unx.ca>
Sun, 1 Oct 2017 10:28:47 +0000 (11:28 +0100)
committerJason Ish <ish@unx.ca>
Mon, 2 Oct 2017 16:28:23 +0000 (17:28 +0100)
Only do it for one build, for now use the one that also
enables Rust.

.travis.yml

index 9b01f015f4077ecdce74e696fff4d48b748fefa7..71c9c1a940dd71eff882fe276881e726d1d3b605 100644 (file)
@@ -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