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-03-29 07:42:17 -04:00
|
|
|
- VERSION=2.6-rc VARIANT=stretch
|
|
|
|
- VERSION=2.6-rc VARIANT=stretch/slim
|
2018-09-13 13:30:25 -04:00
|
|
|
- VERSION=2.6-rc VARIANT=alpine3.8
|
2018-03-29 07:42:17 -04:00
|
|
|
- VERSION=2.6-rc VARIANT=alpine3.7
|
2017-12-25 21:42:18 -05:00
|
|
|
- VERSION=2.5 VARIANT=stretch
|
|
|
|
- VERSION=2.5 VARIANT=stretch/slim
|
|
|
|
- VERSION=2.5 VARIANT=alpine3.7
|
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
|
2017-12-07 06:22:34 -05:00
|
|
|
- VERSION=2.4 VARIANT=alpine3.7
|
2017-08-04 15:42:25 -04:00
|
|
|
- VERSION=2.4 VARIANT=alpine3.6
|
2017-10-25 14:12:34 -04:00
|
|
|
- VERSION=2.3 VARIANT=stretch
|
|
|
|
- VERSION=2.3 VARIANT=stretch/slim
|
2017-07-31 19:48:09 -04:00
|
|
|
- VERSION=2.3 VARIANT=jessie
|
|
|
|
- VERSION=2.3 VARIANT=jessie/slim
|
2018-09-13 13:30:25 -04:00
|
|
|
- VERSION=2.3 VARIANT=alpine3.8
|
2018-05-22 17:13:20 -04:00
|
|
|
- VERSION=2.3 VARIANT=alpine3.7
|
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:
|