Disable stretch builds until lintian is fixed
[pysqlcipher.git] / .gitlab-ci.yml
1 ---
2 stages:
3   - package
4
5 before_script:
6   - echo "Running on ${HOST_HOSTNAME:=$(hostname)}"
7
8 .job_template: &job_definition
9   stage: package
10   image: "0xacab.org:4567/leap/gitlab-buildpackage:build_${DIST}_${ARCH}"
11   script:
12     - "pwd; git describe"
13     - build-build-package
14     # Test the package with lintian
15     - build-test-lintian
16     - upload-package
17     # sleep 1h to allow debugging of running container
18     # - sleep 3600
19   artifacts:
20     expire_in: 1w
21     paths:
22       - '*_*.xz'
23       - '*_*.dsc'
24       - '*_amd64.changes'
25       - '*.deb'
26       - 'results/*'
27
28
29 package:amd64_jessie:
30   variables:
31     ARCH: "amd64"
32     DIST: "jessie"
33     REPONAMES: "platform"
34     LINTIAN_OPTS: "-X filename-length"
35   <<: *job_definition
36
37 #package:amd64_stretch:
38 #  variables:
39 #    ARCH: "amd64"
40 #    DIST: "stretch"
41 #    REPONAMES: "platform"
42 #    LINTIAN_OPTS: "-X filename-length"
43 #  <<: *job_definition