forked from totara/totara-docker-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 857 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
38
39
40
41
language: python
python:
- 2.7
env:
- DOCKER_IMAGE=nginx
- DOCKER_IMAGE=apache
- DOCKER_IMAGE=mssql
- DOCKER_IMAGE=php/php53
- DOCKER_IMAGE=php/php53-debug
- DOCKER_IMAGE=php/php54
- DOCKER_IMAGE=php/php54-debug
- DOCKER_IMAGE=php/php55
- DOCKER_IMAGE=php/php55-debug
- DOCKER_IMAGE=php/php56
- DOCKER_IMAGE=php/php56-debug
- DOCKER_IMAGE=php/php70
- DOCKER_IMAGE=php/php70-debug
- DOCKER_IMAGE=php/php71
- DOCKER_IMAGE=php/php71-debug
- DOCKER_IMAGE=php/php72
- DOCKER_IMAGE=php/php72-debug
- DOCKER_IMAGE=php/php73
- DOCKER_IMAGE=php/php73-debug
- DOCKER_IMAGE=php/php74
- DOCKER_IMAGE=php/php74-debug
services:
- docker
install:
- docker build -t ${DOCKER_IMAGE/\//-} $DOCKER_IMAGE
- docker run --rm -d --name ${DOCKER_IMAGE/\//-} ${DOCKER_IMAGE/\//-}
before_script:
script:
- docker ps | grep -q ${DOCKER_IMAGE/\//-}
after_script:
- docker images