diff options
author | Steve Kemp <steve@steve.org.uk> | 2017-03-16 09:09:16 +0200 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2017-03-16 09:09:16 +0200 |
commit | f255947aa8af363d6197476c6276eef28a682b1d (patch) | |
tree | e0535575dd5710761ccb566c455a37214b00ac94 /.gitlab-ci.yml | |
parent | 1091a3252042cb6fa9406c231a083707214a4170 (diff) |
Build for more distributions.
This is a repeat of the previous merge-request, which was started
from the wrong branch. We build for more releases of Debian/Ubuntu
than just Jessie.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b152e89..8e1dee9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,10 +10,8 @@ test: &test - apt-get install attr ruby-ffi - make test -package: &package +.package: &package image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb - variables: - DISTRO: jessie stage: package script: - package @@ -21,6 +19,37 @@ package: &package paths: - pkg/ +package:wheezy: + <<: *package + variables: + DISTRO: wheezy + +package:jessie: + <<: *package + variables: + DISTRO: jessie + +package:stretch: + <<: *package + variables: + DISTRO: stretch + +package:precise: + <<: *package + variables: + DISTRO: precise + +package:trusty: + <<: *package + variables: + DISTRO: trusty + +package:xenial: + <<: *package + variables: + DISTRO: xenial + + publish: stage: publish variables: @@ -29,5 +58,10 @@ publish: - shell script: - publish - - + dependencies: + - package:wheezy + - package:jessie + - package:stretch + - package:precise + - package:trusty + - package:xenial |