forked from drupal-docker/php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 1.31 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
sudo: required
services:
- docker
env:
matrix:
- DOCKERFILE="Dockerfile-cli" DOCKERPATH="5.6"
- DOCKERFILE="Dockerfile-apache" DOCKERPATH="5.6"
- DOCKERFILE="Dockerfile-fpm" DOCKERPATH="5.6"
- DOCKERFILE="Dockerfile-alpine-cli" DOCKERPATH="5.6"
- DOCKERFILE="Dockerfile-alpine-fpm" DOCKERPATH="5.6"
- DOCKERFILE="Dockerfile-cli" DOCKERPATH="7.0"
- DOCKERFILE="Dockerfile-apache" DOCKERPATH="7.0"
- DOCKERFILE="Dockerfile-fpm" DOCKERPATH="7.0"
- DOCKERFILE="Dockerfile-alpine-cli" DOCKERPATH="7.0"
- DOCKERFILE="Dockerfile-alpine-fpm" DOCKERPATH="7.0"
- DOCKERFILE="Dockerfile-cli" DOCKERPATH="7.1"
- DOCKERFILE="Dockerfile-apache" DOCKERPATH="7.1"
- DOCKERFILE="Dockerfile-fpm" DOCKERPATH="7.1"
- DOCKERFILE="Dockerfile-alpine-cli" DOCKERPATH="7.1"
- DOCKERFILE="Dockerfile-alpine-fpm" DOCKERPATH="7.1"
- DOCKERFILE="Dockerfile-cli" DOCKERPATH="7.2"
- DOCKERFILE="Dockerfile-apache" DOCKERPATH="7.2"
- DOCKERFILE="Dockerfile-fpm" DOCKERPATH="7.2"
- DOCKERFILE="Dockerfile-alpine-cli" DOCKERPATH="7.2"
- DOCKERFILE="Dockerfile-alpine-fpm" DOCKERPATH="7.2"
before_script:
- docker version
script:
- docker build -f ./${DOCKERPATH}/${DOCKERFILE} -t ${DOCKERPATH} ./${DOCKERPATH}
after_script:
- docker images
- docker run --rm -ti ${DOCKERPATH} php -i