aboutsummaryrefslogtreecommitdiffhomepage
path: root/circle.yml
diff options
context:
space:
mode:
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml73
1 files changed, 73 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 0000000..6779d9d
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,73 @@
1machine:
2 services:
3 - docker
4
5dependencies:
6 override:
7 - docker info
8 - docker version
9
10 - cp test/Dockerfile-ubuntu14.04 Dockerfile
11 - docker build -t ansible_trusty .
12
13 - cp test/Dockerfile-ubuntu12.04 Dockerfile
14 - docker build -t ansible_precise .
15
16 - cp test/Dockerfile-debian8 Dockerfile
17 - docker build -t ansible_jessie .
18
19 - cp test/Dockerfile-debian7 Dockerfile
20 - docker build -t ansible_wheezy .
21
22 - cp test/Dockerfile-centos7 Dockerfile
23 - docker build -t ansible_centos7 .
24
25 - cp test/Dockerfile-centos6 Dockerfile
26 - docker build -t ansible_centos6 .
27
28 - cp test/Dockerfile-ubuntu14.04-onbuild Dockerfile
29 - docker build -t ansible_trusty_onbuild .
30
31 - cp test/Dockerfile-ubuntu12.04-onbuild Dockerfile
32 - docker build -t ansible_precise_onbuild .
33
34 - cp test/Dockerfile-debian8-onbuild Dockerfile
35 - docker build -t ansible_jessie_onbuild .
36
37 - cp test/Dockerfile-debian7-onbuild Dockerfile
38 - docker build -t ansible_wheezy_onbuild .
39
40 - cp test/Dockerfile-centos7-onbuild Dockerfile
41 - docker build -t ansible_centos7_onbuild .
42
43 - cp test/Dockerfile-centos6-onbuild Dockerfile
44 - docker build -t ansible_centos6_onbuild .
45
46test:
47 override:
48 - docker run -i ansible_trusty > result-ubuntu14.04
49 - docker run -i ansible_precise > result-ubuntu12.04
50 - docker run -i ansible_jessie > result-debian8
51 - docker run -i ansible_wheezy > result-debian7
52 - docker run -i ansible_centos7 > result-centos7
53 - docker run -i ansible_centos6 > result-centos6
54 - docker run -i ansible_trusty_onbuild > result-ubuntu14.04-onbuild
55 - docker run -i ansible_precise_onbuild > result-ubuntu12.04-onbuild
56 - docker run -i ansible_jessie_onbuild > result-debian8-onbuild
57 - docker run -i ansible_wheezy_onbuild > result-debian7-onbuild
58 - docker run -i ansible_centos7_onbuild > result-centos7-onbuild
59 - docker run -i ansible_centos6_onbuild > result-centos6-onbuild
60
61 - echo "==> Validating the test results..."
62 - sh -c "[ -s result-ubuntu14.04 ]"
63 - sh -c "[ -s result-ubuntu12.04 ]"
64 - sh -c "[ -s result-debian8 ]"
65 - sh -c "[ -s result-debian7 ]"
66 - sh -c "[ -s result-centos7 ]"
67 - sh -c "[ -s result-centos6 ]"
68 - sh -c "[ -s result-ubuntu14.04-onbuild ]"
69 - sh -c "[ -s result-ubuntu12.04-onbuild ]"
70 - sh -c "[ -s result-debian8-onbuild ]"
71 - sh -c "[ -s result-debian7-onbuild ]"
72 - sh -c "[ -s result-centos7-onbuild ]"
73 - sh -c "[ -s result-centos6-onbuild ]"