mirror of
https://github.com/docker-library/ruby.git
synced 2022-11-09 11:41:34 -05:00
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
language: bash
|
|
services: docker
|
|
|
|
env:
|
|
- VERSION=2.7-rc VARIANT=buster
|
|
- VERSION=2.7-rc VARIANT=buster/slim
|
|
- VERSION=2.7-rc VARIANT=alpine3.10
|
|
- VERSION=2.6 VARIANT=buster
|
|
- VERSION=2.6 VARIANT=buster/slim
|
|
- VERSION=2.6 VARIANT=stretch
|
|
- VERSION=2.6 VARIANT=stretch/slim
|
|
- VERSION=2.6 VARIANT=alpine3.10
|
|
- VERSION=2.6 VARIANT=alpine3.9
|
|
- VERSION=2.5 VARIANT=buster
|
|
- VERSION=2.5 VARIANT=buster/slim
|
|
- VERSION=2.5 VARIANT=stretch
|
|
- VERSION=2.5 VARIANT=stretch/slim
|
|
- VERSION=2.5 VARIANT=alpine3.10
|
|
- VERSION=2.5 VARIANT=alpine3.9
|
|
- VERSION=2.4 VARIANT=buster
|
|
- VERSION=2.4 VARIANT=buster/slim
|
|
- VERSION=2.4 VARIANT=stretch
|
|
- VERSION=2.4 VARIANT=stretch/slim
|
|
- VERSION=2.4 VARIANT=alpine3.10
|
|
- VERSION=2.4 VARIANT=alpine3.9
|
|
|
|
install:
|
|
- git clone --depth 1 https://github.com/docker-library/official-images.git ~/official-images
|
|
|
|
before_script:
|
|
- env | sort
|
|
- cd "$VERSION/$VARIANT"
|
|
- slash='/'; image="ruby:${VERSION}-${VARIANT//$slash/-}"
|
|
|
|
script:
|
|
- |
|
|
(
|
|
set -Eeuo pipefail
|
|
set -x
|
|
travis_retry docker build -t "$image" .
|
|
~/official-images/test/run.sh "$image"
|
|
)
|
|
|
|
after_script:
|
|
- docker images
|
|
|
|
# vim:set et ts=2 sw=2:
|