diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 060b99c..4e5dfcb 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -6,6 +6,7 @@ before_install: | |||
6 | - docker info | 6 | - docker info |
7 | - docker version | 7 | - docker version |
8 | 8 | ||
9 | - docker build -t ansible_xenial ubuntu16.04 | ||
9 | - docker build -t ansible_trusty ubuntu14.04 | 10 | - docker build -t ansible_trusty ubuntu14.04 |
10 | - docker build -t ansible_precise ubuntu12.04 | 11 | - docker build -t ansible_precise ubuntu12.04 |
11 | - docker build -t ansible_jessie debian8 | 12 | - docker build -t ansible_jessie debian8 |
@@ -14,6 +15,7 @@ before_install: | |||
14 | - docker build -t ansible_centos6 centos6 | 15 | - docker build -t ansible_centos6 centos6 |
15 | - docker build -t ansible_alpine3 alpine3 | 16 | - docker build -t ansible_alpine3 alpine3 |
16 | 17 | ||
18 | - docker build -t ansible_xenial_onbuild ubuntu16.04-onbuild | ||
17 | - docker build -t ansible_trusty_onbuild ubuntu14.04-onbuild | 19 | - docker build -t ansible_trusty_onbuild ubuntu14.04-onbuild |
18 | - docker build -t ansible_precise_onbuild ubuntu12.04-onbuild | 20 | - docker build -t ansible_precise_onbuild ubuntu12.04-onbuild |
19 | - docker build -t ansible_jessie_onbuild debian8-onbuild | 21 | - docker build -t ansible_jessie_onbuild debian8-onbuild |
@@ -40,6 +42,7 @@ before_install: | |||
40 | - docker build -t ansible_1.9_alpine3_onbuild 1.9-alpine3-onbuild | 42 | - docker build -t ansible_1.9_alpine3_onbuild 1.9-alpine3-onbuild |
41 | 43 | ||
42 | 44 | ||
45 | - docker build -t ansible_master_xenial master-ubuntu16.04 | ||
43 | - docker build -t ansible_master_trusty master-ubuntu14.04 | 46 | - docker build -t ansible_master_trusty master-ubuntu14.04 |
44 | - docker build -t ansible_master_precise master-ubuntu12.04 | 47 | - docker build -t ansible_master_precise master-ubuntu12.04 |
45 | - docker build -t ansible_master_jessie master-debian8 | 48 | - docker build -t ansible_master_jessie master-debian8 |
@@ -47,6 +50,7 @@ before_install: | |||
47 | - docker build -t ansible_master_centos7 master-centos7 | 50 | - docker build -t ansible_master_centos7 master-centos7 |
48 | - docker build -t ansible_master_centos6 master-centos6 | 51 | - docker build -t ansible_master_centos6 master-centos6 |
49 | 52 | ||
53 | - docker build -t ansible_master_xenial_onbuild master-ubuntu16.04-onbuild | ||
50 | - docker build -t ansible_master_trusty_onbuild master-ubuntu14.04-onbuild | 54 | - docker build -t ansible_master_trusty_onbuild master-ubuntu14.04-onbuild |
51 | - docker build -t ansible_master_precise_onbuild master-ubuntu12.04-onbuild | 55 | - docker build -t ansible_master_precise_onbuild master-ubuntu12.04-onbuild |
52 | - docker build -t ansible_master_jessie_onbuild master-debian8-onbuild | 56 | - docker build -t ansible_master_jessie_onbuild master-debian8-onbuild |
@@ -55,6 +59,7 @@ before_install: | |||
55 | - docker build -t ansible_master_centos6_onbuild master-centos6-onbuild | 59 | - docker build -t ansible_master_centos6_onbuild master-centos6-onbuild |
56 | 60 | ||
57 | script: | 61 | script: |
62 | - docker run -i ansible_xenial > result-ubuntu16.04 | ||
58 | - docker run -i ansible_trusty > result-ubuntu14.04 | 63 | - docker run -i ansible_trusty > result-ubuntu14.04 |
59 | - docker run -i ansible_precise > result-ubuntu12.04 | 64 | - docker run -i ansible_precise > result-ubuntu12.04 |
60 | - docker run -i ansible_jessie > result-debian8 | 65 | - docker run -i ansible_jessie > result-debian8 |
@@ -62,6 +67,7 @@ script: | |||
62 | - docker run -i ansible_centos7 > result-centos7 | 67 | - docker run -i ansible_centos7 > result-centos7 |
63 | - docker run -i ansible_centos6 > result-centos6 | 68 | - docker run -i ansible_centos6 > result-centos6 |
64 | - docker run -i ansible_alpine3 > result-alpine3 | 69 | - docker run -i ansible_alpine3 > result-alpine3 |
70 | - docker run -i ansible_xenial_onbuild > result-ubuntu16.04-onbuild | ||
65 | - docker run -i ansible_trusty_onbuild > result-ubuntu14.04-onbuild | 71 | - docker run -i ansible_trusty_onbuild > result-ubuntu14.04-onbuild |
66 | - docker run -i ansible_precise_onbuild > result-ubuntu12.04-onbuild | 72 | - docker run -i ansible_precise_onbuild > result-ubuntu12.04-onbuild |
67 | - docker run -i ansible_jessie_onbuild > result-debian8-onbuild | 73 | - docker run -i ansible_jessie_onbuild > result-debian8-onbuild |
@@ -87,12 +93,14 @@ script: | |||
87 | - docker run -i ansible_1.9_alpine3_onbuild > result-1.9-alpine3-onbuild | 93 | - docker run -i ansible_1.9_alpine3_onbuild > result-1.9-alpine3-onbuild |
88 | 94 | ||
89 | 95 | ||
96 | - docker run -i ansible_master_xenial > result-master-ubuntu16.04 | ||
90 | - docker run -i ansible_master_trusty > result-master-ubuntu14.04 | 97 | - docker run -i ansible_master_trusty > result-master-ubuntu14.04 |
91 | - docker run -i ansible_master_precise > result-master-ubuntu12.04 | 98 | - docker run -i ansible_master_precise > result-master-ubuntu12.04 |
92 | - docker run -i ansible_master_jessie > result-master-debian8 | 99 | - docker run -i ansible_master_jessie > result-master-debian8 |
93 | - docker run -i ansible_master_wheezy > result-master-debian7 | 100 | - docker run -i ansible_master_wheezy > result-master-debian7 |
94 | - docker run -i ansible_master_centos7 > result-master-centos7 | 101 | - docker run -i ansible_master_centos7 > result-master-centos7 |
95 | - docker run -i ansible_master_centos6 > result-master-centos6 | 102 | - docker run -i ansible_master_centos6 > result-master-centos6 |
103 | - docker run -i ansible_master_xenial_onbuild > result-master-ubuntu16.04-onbuild | ||
96 | - docker run -i ansible_master_trusty_onbuild > result-master-ubuntu14.04-onbuild | 104 | - docker run -i ansible_master_trusty_onbuild > result-master-ubuntu14.04-onbuild |
97 | - docker run -i ansible_master_precise_onbuild > result-master-ubuntu12.04-onbuild | 105 | - docker run -i ansible_master_precise_onbuild > result-master-ubuntu12.04-onbuild |
98 | - docker run -i ansible_master_jessie_onbuild > result-master-debian8-onbuild | 106 | - docker run -i ansible_master_jessie_onbuild > result-master-debian8-onbuild |
@@ -103,6 +111,7 @@ script: | |||
103 | 111 | ||
104 | 112 | ||
105 | - echo "==> Validating the test results..." | 113 | - echo "==> Validating the test results..." |
114 | - sh -c "[ -s result-ubuntu16.04 ]" | ||
106 | - sh -c "[ -s result-ubuntu14.04 ]" | 115 | - sh -c "[ -s result-ubuntu14.04 ]" |
107 | - sh -c "[ -s result-ubuntu12.04 ]" | 116 | - sh -c "[ -s result-ubuntu12.04 ]" |
108 | - sh -c "[ -s result-debian8 ]" | 117 | - sh -c "[ -s result-debian8 ]" |
@@ -110,6 +119,7 @@ script: | |||
110 | - sh -c "[ -s result-centos7 ]" | 119 | - sh -c "[ -s result-centos7 ]" |
111 | - sh -c "[ -s result-centos6 ]" | 120 | - sh -c "[ -s result-centos6 ]" |
112 | - sh -c "[ -s result-alpine3 ]" | 121 | - sh -c "[ -s result-alpine3 ]" |
122 | - sh -c "[ -s result-ubuntu16.04-onbuild ]" | ||
113 | - sh -c "[ -s result-ubuntu14.04-onbuild ]" | 123 | - sh -c "[ -s result-ubuntu14.04-onbuild ]" |
114 | - sh -c "[ -s result-ubuntu12.04-onbuild ]" | 124 | - sh -c "[ -s result-ubuntu12.04-onbuild ]" |
115 | - sh -c "[ -s result-debian8-onbuild ]" | 125 | - sh -c "[ -s result-debian8-onbuild ]" |
@@ -133,12 +143,14 @@ script: | |||
133 | - sh -c "[ -s result-1.9-centos6-onbuild ]" | 143 | - sh -c "[ -s result-1.9-centos6-onbuild ]" |
134 | - sh -c "[ -s result-1.9-alpine3-onbuild ]" | 144 | - sh -c "[ -s result-1.9-alpine3-onbuild ]" |
135 | 145 | ||
146 | - sh -c "[ -s result-master-ubuntu16.04 ]" | ||
136 | - sh -c "[ -s result-master-ubuntu14.04 ]" | 147 | - sh -c "[ -s result-master-ubuntu14.04 ]" |
137 | - sh -c "[ -s result-master-ubuntu12.04 ]" | 148 | - sh -c "[ -s result-master-ubuntu12.04 ]" |
138 | - sh -c "[ -s result-master-debian8 ]" | 149 | - sh -c "[ -s result-master-debian8 ]" |
139 | - sh -c "[ -s result-master-debian7 ]" | 150 | - sh -c "[ -s result-master-debian7 ]" |
140 | - sh -c "[ -s result-master-centos7 ]" | 151 | - sh -c "[ -s result-master-centos7 ]" |
141 | - sh -c "[ -s result-master-centos6 ]" | 152 | - sh -c "[ -s result-master-centos6 ]" |
153 | - sh -c "[ -s result-master-ubuntu16.04-onbuild ]" | ||
142 | - sh -c "[ -s result-master-ubuntu14.04-onbuild ]" | 154 | - sh -c "[ -s result-master-ubuntu14.04-onbuild ]" |
143 | - sh -c "[ -s result-master-ubuntu12.04-onbuild ]" | 155 | - sh -c "[ -s result-master-ubuntu12.04-onbuild ]" |
144 | - sh -c "[ -s result-master-debian8-onbuild ]" | 156 | - sh -c "[ -s result-master-debian8-onbuild ]" |