po: Update German man pages translation
[dpkg.git] / .gitlab-ci.yml
blobde4a63a5e394e4e3f505022278ad1b2d288878f2
1 image: debian:sid
3 variables:
4   FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1
6 before_script:
7   - apt update -qq
8   - apt install -qq -y eatmydata
9   - eatmydata apt install -qq -y --no-install-recommends
10     git ca-certificates
11   - eatmydata apt build-dep -qq -y .
12   - ./autogen
14 # Test whether the release can be done.
15 dist-check:
16   stage: test
17   script:
18     - eatmydata apt install -qq -y --no-install-recommends
19       libmodule-build-perl
20     - ./configure
21     - make distcheck
23 # Test whether the unit tests pass.
24 unit-tests:
25   stage: test
26   script:
27     - eatmydata apt -P pkg.dpkg.author-testing build-dep -qq -y .
28     - ./configure
29     - make authorcheck TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
31 # Test whether the unit tests pass on a VPATH build.
32 vpath-tests:
33   stage: test
34   script:
35     - mkdir -p build-tree
36     - cd build-tree
37     - ../configure
38     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
40 # Test whether we can build the shared library.
41 shared-tests:
42   stage: test
43   script:
44     - AUTHOR_TESTING=1 ./configure --enable-shared
45     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
47 # Test whether the functional tests pass.
48 func-tests:
49   stage: test
50   script:
51     - ./configure
52     - make
53     - cd tests
54     - echo "DPKG_BUILDTREE = $(realpath ..)" >>.pkg-tests.conf
55     - eatmydata make test