forked from tutumcloud/tomcat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
22 lines (22 loc) · 882 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
machine:
services:
- docker
dependencies:
override:
- docker build -t tomcat-8.0 8.0/
- docker build -t tomcat-7.0 7.0/
- docker build -t tomcat-6.0 6.0/
- docker build -t tomcat-5.5 5.5/
- docker build -t tomcat-4.1 4.1/
test:
override:
- docker run -d -p 8080:8080 tomcat-8.0; sleep 5
- curl --retry 10 --retry-delay 5 -L -I -f http://localhost:8080/
- docker run -d -p 8081:8080 tomcat-7.0; sleep 5
- curl --retry 10 --retry-delay 5 -L -I -f http://localhost:8081/
- docker run -d -p 8082:8080 tomcat-6.0; sleep 5
- curl --retry 10 --retry-delay 5 -L -I -f http://localhost:8082/
- docker run -d -p 8083:8080 tomcat-5.5; sleep 5
- curl --retry 10 --retry-delay 5 -L -I -f http://localhost:8083/
- docker run -d -p 8084:8080 tomcat-4.1; sleep 5
- curl --retry 10 --retry-delay 5 -L -I -f http://localhost:8084/