Skip to content

Commit ed32328

Browse files
committed
Start testing with Python 3.7
1 parent b21d433 commit ed32328

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

.travis.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
dist: trusty
22
language: python
3-
python:
4-
- "2.7"
5-
- "3.4"
6-
- "3.5"
7-
- "3.6"
8-
- "pypy"
9-
- "pypy3"
3+
4+
# Python 3.7+ needs a newer version of openssl than is available in trusty,
5+
# so these must run on a newer platform (and since travis doesn't yet have
6+
# containers for xenial, those must use VMs).
7+
# YAML magic from https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-401924248
8+
.mixins:
9+
- &xenial-mixin
10+
dist: xenial
11+
sudo: true
12+
addons:
13+
apt:
14+
packages:
15+
- libgnutls-dev
16+
17+
jobs:
18+
include:
19+
- python: "2.7"
20+
- python: "3.4"
21+
- python: "3.5"
22+
- python: "3.6"
23+
- python: "pypy"
24+
- python: "pypy3"
25+
- <<: *xenial-mixin
26+
python: "3.7"
1027
install: "python setup.py install"
1128
script: "python setup.py test"
1229
notifications:

0 commit comments

Comments
 (0)