1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00
docker-library--ruby/.travis.yml
Tianon Gravi f29d8d2181 Update to Alpine 3.9 (dropping Alpine 3.7)
This skips Ruby 2.3 since it doesn't support the OpenSSL version in Alpine 3.9, but it will be EOL soon anyhow (so it'll just stay on Alpine 3.7/3.8).
2019-01-30 16:15:52 -08:00

46 lines
1.1 KiB
YAML

language: bash
services: docker
env:
- VERSION=2.6 VARIANT=stretch
- VERSION=2.6 VARIANT=stretch/slim
- VERSION=2.6 VARIANT=alpine3.9
- VERSION=2.6 VARIANT=alpine3.8
- VERSION=2.5 VARIANT=stretch
- VERSION=2.5 VARIANT=stretch/slim
- VERSION=2.5 VARIANT=alpine3.9
- VERSION=2.5 VARIANT=alpine3.8
- VERSION=2.4 VARIANT=stretch
- VERSION=2.4 VARIANT=stretch/slim
- VERSION=2.4 VARIANT=jessie
- VERSION=2.4 VARIANT=jessie/slim
- VERSION=2.4 VARIANT=alpine3.9
- VERSION=2.4 VARIANT=alpine3.8
- VERSION=2.3 VARIANT=stretch
- VERSION=2.3 VARIANT=stretch/slim
- VERSION=2.3 VARIANT=jessie
- VERSION=2.3 VARIANT=jessie/slim
- VERSION=2.3 VARIANT=alpine3.8
- VERSION=2.3 VARIANT=alpine3.7
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: