aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-05-17 15:43:13 +0200
committerPeter Wu <peter@lekensteyn.nl>2018-05-18 09:13:29 +0000
commit8beb669b326d952ffa9e278d22a17709d68a2730 (patch)
tree2ff722cd2a5aa594ccea43f8fe49ed983a8d57df /.travis.yml
parentb849730be7e643e74edee0f26780b7f390c40a05 (diff)
travis: add regression tests to pcap builds.
Change-Id: Ibdd3f5bfc7ed0e6a75c83227d50d6e00dccf6814 Reviewed-on: https://code.wireshark.org/review/27619 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 8938952d37..dba384db37 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,8 @@ compiler:
- clang
- gcc
env:
- - CMAKE_OPTS="-DENABLE_PCAP=ON"
- - CMAKE_OPTS="-DENABLE_PCAP=OFF"
+ - PCAP=ON
+ - PCAP=OFF
matrix:
exclude:
# Exclude gcc build (Need some work) with osx
@@ -38,6 +38,7 @@ before_script:
- sudo gem install asciidoctor
- mkdir build
- cd build
- - cmake -GNinja ${CMAKE_OPTS} ..
+ - cmake -GNinja -DENABLE_PCAP=${PCAP} ..
script:
- ninja
+ - if [ "$PCAP" == "ON" ]; then ninja test-programs && ninja test; fi