diff options
author | Dario Lombardo <lomato@gmail.com> | 2020-03-29 22:09:29 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2020-03-29 20:36:32 +0000 |
commit | 77b0dc69310234bbbf2df3e920c0afccd79c731d (patch) | |
tree | cac0628a4a6f7f9e2fdb8f9848ff8232029a64b2 /.travis.yml | |
parent | ea2ca383a95e3dbc8bcf8d87221fca400699b901 (diff) |
gitlab/travis: remove nopcap tests.
Lack of capture support is such a rare case, it is not worth spending
too much CI cycles testing it for every build.
Change-Id: Ia9be2b6ba21d0b198e65d746483282ef66cadb84
Reviewed-on: https://code.wireshark.org/review/36626
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 40 |
1 files changed, 11 insertions, 29 deletions
diff --git a/.travis.yml b/.travis.yml index 474cd6fd04..1602545210 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,10 @@ language: minimal dist: bionic matrix: include: - - name: OSX (xcode11.3 clang-11.0.0) with PCAP + - name: OSX (xcode11.3 clang-11.0.0) os: osx osx_image: xcode11.3 - env: PCAP=ON - - name: Linux amd64 (gcc-9) with PCAP + - name: Linux amd64 (gcc-9) os: linux addons: apt: @@ -18,8 +17,7 @@ matrix: env: - CXX=g++-9 - CC=gcc-9 - - PCAP=ON - - name: Linux arm64 (gcc-8) with PCAP + - name: Linux arm64 (gcc-8) os: linux arch: arm64 addons: @@ -28,50 +26,35 @@ matrix: env: - CXX=g++-8 - CC=gcc-8 - - PCAP=ON - - name: Linux s390x (gcc-7) with PCAP + - name: Linux s390x (gcc-7) os: linux arch: s390x - env: - - PCAP=ON - - name: Linux ppc64le (gcc-7) with PCAP + - name: Linux ppc64le (gcc-7) os: linux arch: ppc64le - env: - - PCAP=ON - - name: Linux amd64 (clang) with PCAP + - name: Linux amd64 (clang) os: linux env: - CXX=clang++ - CC=clang - - PCAP=ON - - name: Linux arm64 (clang) with PCAP + - name: Linux arm64 (clang) os: linux arch: arm64 env: - CXX=clang++ - CC=clang - - PCAP=ON - - name: Linux s390x (clang) with PCAP + - name: Linux s390x (clang) os: linux arch: s390x env: - CXX=clang++ - CC=clang - - PCAP=ON - - name: Linux ppc64le (clang) with PCAP + - name: Linux ppc64le (clang) os: linux arch: ppc64le env: - CXX=clang++ - CC=clang - - PCAP=ON - - name: Linux amd64 (clang) without PCAP - os: linux - env: - - CXX=clang++ - - CC=clang - - PCAP=OFF - name: Windows (VS2017 x64) # Set a supported language, otherwise the Windows worker will not start. language: shell @@ -128,7 +111,7 @@ before_install: before_script: - mkdir build - cd build - - if [ "$TRAVIS_OS_NAME" != "windows" ]; then cmake -GNinja -DENABLE_PCAP=${PCAP} ..; fi + - if [ "$TRAVIS_OS_NAME" != "windows" ]; then cmake -GNinja ..; fi - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cmake -A $PLATFORM ..; fi script: # Enable parallelism for msbuild too (since CMake 3.12; ninja does not need it) @@ -137,8 +120,7 @@ script: # Invoke ninja (Linux/macOS, --config is ignored) or msbuild (Windows) - cmake --build . --config RelWithDebInfo - cmake --build . --config RelWithDebInfo --target test-programs - - if [ "$PCAP" = "OFF" ]; then export PYTEST_ADDOPTS=--skip-missing-programs=dumpcap,rawshark; fi - - if [ "$TRAVIS_OS_NAME" == "linux" -a "$PCAP" = "ON" ]; then sudo setcap cap_net_raw,cap_net_admin+eip run/dumpcap; fi + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo setcap cap_net_raw,cap_net_admin+eip run/dumpcap; fi - pytest - cd .. before_cache: |