forked from docker-library/ruby
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
46 lines (40 loc) · 1.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: bash
services: docker
env:
- VERSION=2.6-rc VARIANT=stretch
- VERSION=2.6-rc VARIANT=stretch/slim
- VERSION=2.6-rc VARIANT=alpine3.8
- VERSION=2.6-rc VARIANT=alpine3.7
- VERSION=2.5 VARIANT=stretch
- VERSION=2.5 VARIANT=stretch/slim
- VERSION=2.5 VARIANT=alpine3.8
- VERSION=2.5 VARIANT=alpine3.7
- 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.8
- VERSION=2.4 VARIANT=alpine3.7
- 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: