summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-05-15 16:39:49 +0800
committerluwenpeng <[email protected]>2024-05-15 17:13:55 +0800
commit00df68695eaf6711eb8fc6352606ed97f046cd34 (patch)
tree2e006dd636ca57efce2048ac5ce303424ef060d7 /ci
parent7b20747c8fb78b566da91e739e84fb1540d2e4f6 (diff)
CI install tcpdump & wireshark-cli & jq
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index ae9e8cc..f5aebec 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -37,6 +37,11 @@ yum install -y mrzcpd-corei7
yum install -y numactl-libs # required by mrzcpd
yum install -y libibverbs # required by mrzcpd
yum install -y libfieldstat4-devel
+yum install -y tcpdump
+dnf install -y epel-release
+dnf install -y wireshark wireshark-cli
+dnf install -y libpcap-devel
+dnf install -y jq
if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ]; then
source /opt/rh/devtoolset-7/enable
@@ -52,7 +57,7 @@ cmake3 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \
-DVERSION_DAILY_BUILD=$TESTING_VERSION_BUILD \
..
make -j 4
-make test
+ctest --output-on-failure
if [ -n "${PACKAGE}" ]; then
make package