diff options
author | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2019-09-21 11:01:31 -0500 |
---|---|---|
committer | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2019-09-21 11:01:31 -0500 |
commit | c6e100782d159148656dff5e9fdff6ac069cfb24 (patch) | |
tree | 8abea2941e2c106072e41a26db810965bf163beb | |
parent | readd .config/dconf to whitelist-common because … (diff) | |
download | firejail-c6e100782d159148656dff5e9fdff6ac069cfb24.tar.gz firejail-c6e100782d159148656dff5e9fdff6ac069cfb24.tar.zst firejail-c6e100782d159148656dff5e9fdff6ac069cfb24.zip |
ci: add main CI tests to GitLab CI
-rw-r--r-- | .gitlab-ci.yml | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37e5cc2d0..93406544a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -1,10 +1,27 @@ | |||
1 | # Basic notes: builds firejail on 5 different systems for 2 package systems: | 1 | # Runs the following tests |
2 | # 1. Debian-based systems. Use debian:jessie to ensure reasonable backwards | 2 | # A. Basic CI tests (identical to what is run on Travis CI but newer distro |
3 | # compat and ubuntu:rolling for new setups | 3 | # base) |
4 | # 2. Redhat-based systems. Use centos:latest for reasonable backwards compat | 4 | # |
5 | # and fedora:latest for new setups | 5 | # B. Builds/installs firejail on 5 different distros for 2 package systems: |
6 | # 3. Alpine for installing directly from source | 6 | # 1. Debian-based systems. Use debian:jessie to ensure reasonable backwards |
7 | # Also builds apparmor package for Ubuntu LTS | 7 | # compat and ubuntu:rolling for new setups |
8 | # Also builds apparmor package for Ubuntu LTS | ||
9 | # 2. Redhat-based systems. Use centos:latest for reasonable backwards compat | ||
10 | # and fedora:latest for new setups | ||
11 | # 3. Alpine for installing directly from source | ||
12 | # | ||
13 | # C. Runs Cppcheck over source | ||
14 | # | ||
15 | # D. Runs Debian CI scripts | ||
16 | ci_code_tests: | ||
17 | image: ubuntu:rolling | ||
18 | before_script: | ||
19 | - apt-get update -qq | ||
20 | - apt-get -y install expect csh xzdec lintian fakeroot | ||
21 | - ./configure --enable-fatal-warnings --prefix=/usr && make && make install | ||
22 | script: | ||
23 | - make test-travis | ||
24 | |||
8 | build_ubuntu_package: | 25 | build_ubuntu_package: |
9 | image: ubuntu:rolling | 26 | image: ubuntu:rolling |
10 | script: | 27 | script: |