Skip to content

Commit f6462eb

Browse files
committed
Enable bionic build replacing xenail
Enable bionic 18.04 replacing xenial 16.04. Curl https://oligarchy.co.uk/xapian/ is failing to validate the SSL cert with the CA on xenial. See if this fixes it. Python 3.4 is not supported on bionic is obsolete so remove testing. It was retained because 3.4 was EPEL version for centos 7. With centos demise, removed it from 'python:' settings. Test latest 2.x release, earliest 3.x release supported by bionic (3.6), last two production 3.x releases and nightly to cut down on cost of testing. Also run tests in 3.x series in reverse order so 3.9 runs first. Hence we fail early as newest pythons seem to have more issues with the code.
1 parent c7fe0ff commit f6462eb

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

.travis.yml

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ language: python
77

88
cache: pip
99

10-
python:
11-
- 2.7
12-
- 3.9-dev
13-
- 3.8
14-
- 3.7
15-
- 3.6
16-
- 3.4
17-
- nightly
18-
19-
2010
#I would like to build and test the maint-1.6 and trunk/default
2111
#but we need different environments for these:
2212
# maint-1.6 only python 2, install only psycopg2 version with support for
@@ -27,29 +17,18 @@ branches:
2717
# - maint-1.6
2818

2919
dist:
30-
- xenial
31-
32-
# Commented out stanza for bionic 18.04. Currently testing on
33-
# xenial 16.04.
34-
# Consider move to this after 2.1.0 release. Python 3.4
35-
# is not supported on bionic and 3.4 is obsolete. Was retained
36-
# because 3.4 was EPEL version for centos 7. With centos demise,
37-
# remove it from 'python:' settings and test earliest still supported
38-
# release, last two production releases and nightly to cut down on cost
39-
# of testing.
40-
# dist:
41-
# - bionic
42-
#
43-
# python:
44-
# - 2.7
45-
# - 3.6
46-
# - 3.8
47-
# - 3.9-dev
48-
# - nightly
49-
#
50-
# services:
51-
# - mysql
52-
# - postgresql
20+
- bionic
21+
22+
python:
23+
- 2.7
24+
- 3.9-dev
25+
- 3.8
26+
- 3.6
27+
- nightly
28+
29+
services:
30+
- mysql
31+
- postgresql
5332

5433
jobs:
5534
allow_failures: # nightly not ready for prime time yet.

0 commit comments

Comments
 (0)