forked from redis/docker-library-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (27 loc) · 712 Bytes
/
.travis.yml
File metadata and controls
33 lines (27 loc) · 712 Bytes
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
language: bash
services: docker
env:
- VERSION=5.0 VARIANT=
- VERSION=5.0 VARIANT=32bit
- VERSION=5.0 VARIANT=alpine
- VERSION=4.0 VARIANT=
- VERSION=4.0 VARIANT=32bit
- VERSION=4.0 VARIANT=alpine
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
- cd "$VERSION/$VARIANT"
- image="redis:${VERSION}${VARIANT:+-$VARIANT}"
script:
- |
(
set -Eeuo pipefail
set -x
docker build -t "$image" .
~/official-images/test/run.sh "$image"
)
after_script:
- docker images
# vim:set et ts=2 sw=2: