forked from docker-library/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 799 Bytes
/
.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
language: bash
services: docker
env:
- VARIANT=php5.6/apache
- VARIANT=php5.6/fpm
- VARIANT=php5.6/fpm-alpine
- VARIANT=php5.6/cli
- VARIANT=php7.0/apache
- VARIANT=php7.0/fpm
- VARIANT=php7.0/fpm-alpine
- VARIANT=php7.0/cli
- VARIANT=php7.1/apache
- VARIANT=php7.1/fpm
- VARIANT=php7.1/fpm-alpine
- VARIANT=php7.1/cli
- VARIANT=php7.2/apache
- VARIANT=php7.2/fpm
- VARIANT=php7.2/fpm-alpine
- VARIANT=php7.2/cli
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VARIANT"
- slash='/'; image="wordpress:${VARIANT//$slash/-}"
script:
- travis_retry docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
# vim:set et ts=2 sw=2: