Skip to content

Commit 2d8919a

Browse files
cclaussgsnedders
authored andcommitted
Travis CI: Add Python 3.7 and pypy3 (#417)
1 parent e7a3449 commit 2d8919a

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.travis.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
language: python
22
python:
3+
- "pypy3"
34
- "pypy"
45
- "3.6"
56
- "3.5"
67
- "3.4"
78
- "2.7"
89

9-
sudo: false
10-
1110
cache: pip
1211

1312
env:
@@ -18,6 +17,18 @@ env:
1817
- TOXENV=base
1918
- TOXENV=six19-optional
2019

20+
matrix:
21+
include:
22+
- python: "3.7"
23+
dist: xenial # required for Python >= 3.7
24+
env: TOXENV=optional
25+
- python: "3.7"
26+
dist: xenial # required for Python >= 3.7
27+
env: TOXENV=base
28+
- python: "3.7"
29+
dist: xenial # required for Python >= 3.7
30+
env: TOXENV=six19-optional
31+
2132
install:
2233
- pip install tox codecov
2334

requirements-optional.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ lxml ; platform_python_implementation == 'CPython'
1414

1515
# DATrie can be used in place of our Python trie implementation for
1616
# slightly better parsing performance.
17-
datrie ; platform_python_implementation == 'CPython'
17+
# https://github.com/pytries/datrie/issues/52 although closed is not
18+
# yet released to https://pypi.org/project/datrie
19+
datrie ; platform_python_implementation == 'CPython' and python_version < '3.7'

0 commit comments

Comments
 (0)