summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-05-12 14:40:36 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-05-12 15:17:07 +0200
commit182867a07106b180e2b57f6aec6382a24bcdd531 (patch)
tree35dd5742d488cb13f73d48c5494eb58c87d5aa42 /.travis.yml
parent241a7fdc4fc5f205e3553195ca0c27be44848261 (diff)
Reduced superfluous Travis-CI yaml content.1.3
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index ef4490d1b..df3300587 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,11 +3,13 @@ before_install:
- sudo apt-get -qq update
- sudo apt-get install -y build-essential make binutils gcc autoconf automake libtool pkg-config git libpcap-dev libgcrypt-dev libgpg-error-dev libjson-c-dev netcat-openbsd python3 python3-jsonschema
script:
-- git submodule update --init
# static linked build
-- mkdir build-cmake-submodule && cd build-cmake-submodule && cmake .. -DBUILD_EXAMPLES=ON -DBUILD_NDPI=ON -DENABLE_SANITIZER=ON && make && cd ..
+- mkdir build-cmake-submodule && cd build-cmake-submodule &&
+ cmake .. -DBUILD_EXAMPLES=ON -DBUILD_NDPI=ON -DENABLE_SANITIZER=ON && make && cd ..
+- ./test/run_tests.sh ./libnDPI ./build-cmake-submodule/nDPId-test
# pkg-config dynamic linked build
-- PKG_CONFIG_PATH="$(realpath ./build-cmake-submodule/libnDPI/lib/pkgconfig)" cmake . -DBUILD_EXAMPLES=ON -DENABLE_SANITIZER=ON -DENABLE_MEMORY_PROFILING=ON && make
-- ./nDPId-test || test $? -eq 1
-- ./nDPId -h || test $? -eq 1
-- ./test/run_tests.sh
+- mkdir build && cd build &&
+ PKG_CONFIG_PATH="$(realpath ../build-cmake-submodule/libnDPI/lib/pkgconfig)"
+ cmake .. -DBUILD_EXAMPLES=ON -DENABLE_SANITIZER=ON -DENABLE_MEMORY_PROFILING=ON && make && cd ..
+- ./build/nDPId-test || test $? -eq 1
+- ./build/nDPId -h || test $? -eq 1