aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-02-01 21:30:25 +0100
committerToni Uhlig <matzeton@googlemail.com>2020-02-01 21:35:03 +0100
commit04fe24f17018a187e181288613a736cc8c2d14c8 (patch)
treea01ddfbca528cf8eed586ebb802f84658041c40c
parentd33d8774104fa838f2856c0f48ffb84eb3d53b78 (diff)
gitlab-ci: preps for integration tests
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e501417..6993f34 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,15 +2,18 @@ image: debian:stable-slim
stages:
- build
+ - test
before_script:
- test ! -r /etc/debian_version || apt-get -qq update
- test ! -r /etc/debian_version || apt-get install -y git debhelper dpkg-dev build-essential fakeroot flawfinder wget unzip
- test ! -r /etc/debian_version || apt-get install -y libpcap-dev libselinux1-dev
- test ! -r /etc/debian_version || apt-get install -y binutils-mingw-w64-i686 gcc-mingw-w64 mingw-w64-i686-dev mingw-w64-common clang
+ - test ! -r /etc/debian_version || apt-get install -y valgrind sudo
- test ! -r /etc/debian_version || apt-get install -y autoconf automake dh-autoreconf
- test ! -r /etc/arch-release || pacman -Syu --noconfirm
- test ! -r /etc/arch-release || pacman -S --noconfirm binutils gcc base-devel git
+ - test ! -r /etc/arch-release || pacman -S --noconfirm valgrind sudo
- mkdir -p ./deploy/gcc ./deploy/i686-w64-mingw32-winpcap ./deploy/i686-w64-mingw32-npcap ./deploy/clang ./deploy/android28-clang
build:
@@ -103,3 +106,13 @@ build-android:
- deploy/
- config.log
when: always
+
+test-debian:
+ script:
+ - /bin/true
+ stage: test
+
+test-archlinux:
+ script:
+ - /bin/true
+ stage: test