forked from docker-library/php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (47 loc) · 1.54 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
47
48
49
50
51
52
53
language: bash
services: docker
env:
- VERSION=7.2 VARIANT=stretch/cli
- VERSION=7.2 VARIANT=stretch/apache
- VERSION=7.2 VARIANT=stretch/fpm
- VERSION=7.2 VARIANT=stretch/zts
- VERSION=7.2 VARIANT=alpine3.7/cli
- VERSION=7.2 VARIANT=alpine3.7/fpm
- VERSION=7.2 VARIANT=alpine3.7/zts
- VERSION=7.2 VARIANT=alpine3.6/cli
- VERSION=7.2 VARIANT=alpine3.6/fpm
- VERSION=7.2 VARIANT=alpine3.6/zts
- VERSION=7.1 VARIANT=jessie/cli
- VERSION=7.1 VARIANT=jessie/apache
- VERSION=7.1 VARIANT=jessie/fpm
- VERSION=7.1 VARIANT=jessie/zts
- VERSION=7.1 VARIANT=alpine3.4/cli
- VERSION=7.1 VARIANT=alpine3.4/fpm
- VERSION=7.1 VARIANT=alpine3.4/zts
- VERSION=7.0 VARIANT=jessie/cli
- VERSION=7.0 VARIANT=jessie/apache
- VERSION=7.0 VARIANT=jessie/fpm
- VERSION=7.0 VARIANT=jessie/zts
- VERSION=7.0 VARIANT=alpine3.4/cli
- VERSION=7.0 VARIANT=alpine3.4/fpm
- VERSION=7.0 VARIANT=alpine3.4/zts
- VERSION=5.6 VARIANT=jessie/cli
- VERSION=5.6 VARIANT=jessie/apache
- VERSION=5.6 VARIANT=jessie/fpm
- VERSION=5.6 VARIANT=jessie/zts
- VERSION=5.6 VARIANT=alpine3.4/cli
- VERSION=5.6 VARIANT=alpine3.4/fpm
- VERSION=5.6 VARIANT=alpine3.4/zts
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION/$VARIANT"
- SUBVARIANT="${VARIANT#*/}"
- image="php:${VERSION}-${SUBVARIANT}-${VARIANT%/*}"
script:
- travis_retry docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
# vim:set et ts=2 sw=2: