diff options
-rw-r--r-- | .gitlab-ci.yml | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b152e89..3a13af5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,15 +5,15 @@ stages: test: &test stage: test - image: $CI_REGISTRY/docker-images/layers:jessie-ruby + image: $CI_REGISTRY/docker-images/layers:stretch-ruby script: - apt-get install attr ruby-ffi - make test -package: &package +package:stretch: &package image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb variables: - DISTRO: jessie + DISTRO: stretch stage: package script: - package @@ -21,6 +21,41 @@ package: &package paths: - pkg/ +package:jessie: + <<: *package + variables: + DISTRO: jessie + +package:wheezy: + <<: *package + variables: + DISTRO: wheezy + +package:squeeze: + <<: *package + variables: + DISTRO: squeeze + +package:xenial: + <<: *package + variables: + DISTRO: xenial + +package:trusty: + <<: *package + variables: + DISTRO: trusty + +package:precise: + <<: *package + variables: + DISTRO: precise + +package:lucid: + <<: *package + variables: + DISTRO: lucid + publish: stage: publish variables: |