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

41 lines
954 B
YAML
Raw Normal View History

2015-04-02 17:14:02 -04:00
language: bash
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
- 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
- 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
- VERSION=2.4 VARIANT=jessie
- VERSION=2.4 VARIANT=jessie/slim
- 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:
- 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
- cd "$VERSION/$VARIANT"
- slash='/'; image="ruby:${VERSION}-${VARIANT//$slash/-}"
2015-04-02 17:14:02 -04:00
script:
- |
(
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
after_script:
- docker images
2015-04-02 17:14:02 -04:00
# vim:set et ts=2 sw=2: