Skip to content

Commit 00179ee

Browse files
committed
Add Ubuntu 18.04 LTS as a target test platform for Travis CI
This change adds Ubuntu 18.04 LTS (Bionic Beaver) as a target test platform in the Travis CI configuration file. New test builds for all unit, integration, functional, style, security, and doc checks should now be built for Bionic during continuous integration runs.
1 parent ae05118 commit 00179ee

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

.travis.yml

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ matrix:
1414
os: linux
1515
dist: xenial
1616
env: TOXENV=py27 RUN_INTEGRATION_TESTS=0
17+
- python: 2.7
18+
os: linux
19+
dist: bionic
20+
env: TOXENV=py27 RUN_INTEGRATION_TESTS=0
1721
- python: 2.7
1822
os: linux
1923
dist: precise
@@ -26,6 +30,10 @@ matrix:
2630
os: linux
2731
dist: xenial
2832
env: TOXENV=py27 RUN_INTEGRATION_TESTS=1
33+
- python: 2.7
34+
os: linux
35+
dist: bionic
36+
env: TOXENV=py27 RUN_INTEGRATION_TESTS=1
2937
- python: 2.7
3038
os: linux
3139
dist: precise
@@ -38,6 +46,10 @@ matrix:
3846
os: linux
3947
dist: xenial
4048
env: TOXENV=py27 RUN_INTEGRATION_TESTS=2
49+
- python: 2.7
50+
os: linux
51+
dist: bionic
52+
env: TOXENV=py27 RUN_INTEGRATION_TESTS=2
4153
- python: 3.4
4254
os: linux
4355
dist: precise
@@ -50,6 +62,11 @@ matrix:
5062
os: linux
5163
dist: xenial
5264
env: TOXENV=py34 RUN_INTEGRATION_TESTS=0
65+
# As of 9/13/2019, Python 3.4 is not available on TravisCI Bionic images.
66+
# - python: 3.4
67+
# os: linux
68+
# dist: bionic
69+
# env: TOXENV=py34 RUN_INTEGRATION_TESTS=0
5370
- python: 3.4
5471
os: linux
5572
dist: precise
@@ -62,6 +79,11 @@ matrix:
6279
os: linux
6380
dist: xenial
6481
env: TOXENV=py34 RUN_INTEGRATION_TESTS=1
82+
# As of 9/13/2019, Python 3.4 is not available on TravisCI Bionic images.
83+
# - python: 3.4
84+
# os: linux
85+
# dist: bionic
86+
# env: TOXENV=py34 RUN_INTEGRATION_TESTS=1
6587
- python: 3.4
6688
os: linux
6789
dist: precise
@@ -74,6 +96,11 @@ matrix:
7496
os: linux
7597
dist: xenial
7698
env: TOXENV=py34 RUN_INTEGRATION_TESTS=2
99+
# As of 9/13/2019, Python 3.4 is not available on TravisCI Bionic images.
100+
# - python: 3.4
101+
# os: linux
102+
# dist: bionic
103+
# env: TOXENV=py34 RUN_INTEGRATION_TESTS=2
77104
- python: 3.5
78105
os: linux
79106
dist: precise
@@ -86,6 +113,10 @@ matrix:
86113
os: linux
87114
dist: xenial
88115
env: TOXENV=py35 RUN_INTEGRATION_TESTS=0
116+
- python: 3.5
117+
os: linux
118+
dist: bionic
119+
env: TOXENV=py35 RUN_INTEGRATION_TESTS=0
89120
- python: 3.5
90121
os: linux
91122
dist: precise
@@ -98,6 +129,10 @@ matrix:
98129
os: linux
99130
dist: xenial
100131
env: TOXENV=py35 RUN_INTEGRATION_TESTS=1
132+
- python: 3.5
133+
os: linux
134+
dist: bionic
135+
env: TOXENV=py35 RUN_INTEGRATION_TESTS=1
101136
- python: 3.5
102137
os: linux
103138
dist: precise
@@ -110,6 +145,10 @@ matrix:
110145
os: linux
111146
dist: xenial
112147
env: TOXENV=py35 RUN_INTEGRATION_TESTS=2
148+
- python: 3.5
149+
os: linux
150+
dist: bionic
151+
env: TOXENV=py35 RUN_INTEGRATION_TESTS=2
113152
- python: 3.6
114153
os: linux
115154
dist: precise
@@ -122,6 +161,10 @@ matrix:
122161
os: linux
123162
dist: xenial
124163
env: TOXENV=py36 RUN_INTEGRATION_TESTS=0
164+
- python: 3.6
165+
os: linux
166+
dist: bionic
167+
env: TOXENV=py36 RUN_INTEGRATION_TESTS=0
125168
- python: 3.6
126169
os: linux
127170
dist: precise
@@ -134,6 +177,10 @@ matrix:
134177
os: linux
135178
dist: xenial
136179
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
180+
- python: 3.6
181+
os: linux
182+
dist: bionic
183+
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
137184
- python: 3.6
138185
os: linux
139186
dist: precise
@@ -146,6 +193,10 @@ matrix:
146193
os: linux
147194
dist: xenial
148195
env: TOXENV=py36 RUN_INTEGRATION_TESTS=2
196+
- python: 3.6
197+
os: linux
198+
dist: bionic
199+
env: TOXENV=py36 RUN_INTEGRATION_TESTS=2
149200
# - python: 3.7
150201
# os: linux
151202
# dist: precise
@@ -158,6 +209,10 @@ matrix:
158209
os: linux
159210
dist: xenial
160211
env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
212+
- python: 3.7
213+
os: linux
214+
dist: bionic
215+
env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
161216
# - python: 3.7
162217
# os: linux
163218
# dist: precise
@@ -169,7 +224,11 @@ matrix:
169224
- python: 3.7
170225
os: linux
171226
dist: xenial
172-
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
227+
env: TOXENV=py37 RUN_INTEGRATION_TESTS=1
228+
- python: 3.7
229+
os: linux
230+
dist: bionic
231+
env: TOXENV=py37 RUN_INTEGRATION_TESTS=1
173232
# - python: 3.7
174233
# os: linux
175234
# dist: precise
@@ -182,6 +241,10 @@ matrix:
182241
os: linux
183242
dist: xenial
184243
env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
244+
- python: 3.7
245+
os: linux
246+
dist: bionic
247+
env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
185248
- python: 2.7
186249
os: linux
187250
dist: precise
@@ -194,6 +257,10 @@ matrix:
194257
os: linux
195258
dist: xenial
196259
env: TOXENV=pep8 RUN_INTEGRATION_TESTS=0
260+
- python: 2.7
261+
os: linux
262+
dist: bionic
263+
env: TOXENV=pep8 RUN_INTEGRATION_TESTS=0
197264
- python: 2.7
198265
os: linux
199266
dist: precise
@@ -206,6 +273,10 @@ matrix:
206273
os: linux
207274
dist: xenial
208275
env: TOXENV=bandit RUN_INTEGRATION_TESTS=0
276+
- python: 2.7
277+
os: linux
278+
dist: bionic
279+
env: TOXENV=bandit RUN_INTEGRATION_TESTS=0
209280
- python: 2.7
210281
os: linux
211282
dist: precise
@@ -218,6 +289,10 @@ matrix:
218289
os: linux
219290
dist: xenial
220291
env: TOXENV=docs RUN_INTEGRATION_TESTS=0
292+
- python: 2.7
293+
os: linux
294+
dist: bionic
295+
env: TOXENV=docs RUN_INTEGRATION_TESTS=0
221296
install:
222297
# Pin six to >= 1.11.0 to avoid setuptools/pip race condition
223298
# For more info, see: https://github.com/OpenKMIP/PyKMIP/issues/435

0 commit comments

Comments
 (0)