forked from docker-library/php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.03 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
language: bash
services: docker
env:
- VERSION=7.0 VARIANT=
- VERSION=7.0 VARIANT=alpine
- VERSION=7.0 VARIANT=apache
- VERSION=7.0 VARIANT=fpm
- VERSION=7.0 VARIANT=fpm/alpine
- VERSION=7.0 VARIANT=zts
- VERSION=7.0 VARIANT=zts/alpine
- VERSION=5.6 VARIANT=
- VERSION=5.6 VARIANT=alpine
- VERSION=5.6 VARIANT=apache
- VERSION=5.6 VARIANT=fpm
- VERSION=5.6 VARIANT=fpm/alpine
- VERSION=5.6 VARIANT=zts
- VERSION=5.6 VARIANT=zts/alpine
- VERSION=5.5 VARIANT=
- VERSION=5.5 VARIANT=alpine
- VERSION=5.5 VARIANT=apache
- VERSION=5.5 VARIANT=fpm
- VERSION=5.5 VARIANT=fpm/alpine
- VERSION=5.5 VARIANT=zts
- VERSION=5.5 VARIANT=zts/alpine
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION"
- image="php:${VERSION}${VARIANT:+-$VARIANT}"
- image="${image//'/'/-}"
script:
- docker build -t "$image" "${VARIANT:-.}"
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
# vim:set et ts=2 sw=2: