po: Update German man pages translation
[dpkg.git] / .gitlab-ci.yml
blob3138b3a7d580c6ab240480af953fb1445842ee5d
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 install -qq -y --no-install-recommends
28       fakeroot gpg cppcheck shellcheck aspell aspell-en codespell i18nspector
29       libtest-strict-perl libtest-minimumversion-perl libtest-perl-critic-perl
30       libtest-pod-perl libtest-pod-coverage-perl libtest-spelling-perl
31       libtest-synopsis-perl
32     - ./configure
33     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
34                  AUTHOR_TESTING=1
36 # Test whether the unit tests pass on a VPATH build.
37 vpath-tests:
38   stage: test
39   script:
40     - mkdir -p build-tree
41     - cd build-tree
42     - ../configure
43     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
45 # Test whether we can build the shared library.
46 shared-tests:
47   stage: test
48   script:
49     - DPKG_DEVEL_MODE=1 ./configure --enable-shared
50     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
52 # Test whether the functional tests pass.
53 func-tests:
54   stage: test
55   script:
56     - ./configure
57     - make
58     - cd tests
59     - echo "DPKG_BUILDTREE = $(realpath ..)" >>.pkg-tests.conf
60     - eatmydata make test