2015-04-02 17:14:02 -04:00
|
|
|
language: bash
|
2015-11-20 12:50:25 -05:00
|
|
|
services: docker
|
2015-04-02 17:14:02 -04:00
|
|
|
|
|
|
|
env:
|
2018-12-25 10:37:25 -05:00
|
|
|
- VERSION=2.6 VARIANT=stretch
|
|
|
|
- VERSION=2.6 VARIANT=stretch/slim
|
2019-01-30 17:48:46 -05:00
|
|
|
- VERSION=2.6 VARIANT=alpine3.9
|
2018-12-25 10:37:25 -05:00
|
|
|
- VERSION=2.6 VARIANT=alpine3.8
|
2017-12-25 21:42:18 -05:00
|
|
|
- VERSION=2.5 VARIANT=stretch
|
|
|
|
- VERSION=2.5 VARIANT=stretch/slim
|
2019-01-30 17:48:46 -05:00
|
|
|
- VERSION=2.5 VARIANT=alpine3.9
|
2018-10-18 15:00:09 -04:00
|
|
|
- VERSION=2.5 VARIANT=alpine3.8
|
2017-08-04 15:41:04 -04:00
|
|
|
- VERSION=2.4 VARIANT=stretch
|
|
|
|
- VERSION=2.4 VARIANT=stretch/slim
|
2017-07-31 19:48:09 -04:00
|
|
|
- VERSION=2.4 VARIANT=jessie
|
|
|
|
- VERSION=2.4 VARIANT=jessie/slim
|
2019-01-30 17:48:46 -05:00
|
|
|
- VERSION=2.4 VARIANT=alpine3.9
|
2018-10-18 15:00:09 -04:00
|
|
|
- VERSION=2.4 VARIANT=alpine3.8
|
2015-04-02 17:14:02 -04:00
|
|
|
|
|
|
|
install:
|
2016-12-28 06:43:54 -05:00
|
|
|
- git clone --depth 1 https://github.com/docker-library/official-images.git ~/official-images
|
2015-04-02 17:14:02 -04:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- env | sort
|
2017-07-31 19:48:09 -04:00
|
|
|
- cd "$VERSION/$VARIANT"
|
|
|
|
- slash='/'; image="ruby:${VERSION}-${VARIANT//$slash/-}"
|
2015-04-02 17:14:02 -04:00
|
|
|
|
|
|
|
script:
|
2017-07-31 19:48:09 -04:00
|
|
|
- |
|
|
|
|
(
|
|
|
|
set -Eeuo pipefail
|
|
|
|
set -x
|
|
|
|
travis_retry docker build -t "$image" .
|
|
|
|
~/official-images/test/run.sh "$image"
|
|
|
|
)
|
2015-04-02 17:14:02 -04:00
|
|
|
|
2015-08-07 19:32:27 -04:00
|
|
|
after_script:
|
|
|
|
- docker images
|
|
|
|
|
2015-04-02 17:14:02 -04:00
|
|
|
# vim:set et ts=2 sw=2:
|