Skip to content

Commit c9ee5d9

Browse files
authored
Add py37 travis (#231)
* Enable py37 in travis * Make travis style a bit more consistent
1 parent 87b6156 commit c9ee5d9

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ language: python
22
matrix:
33
include:
44
- env: TOXENV=py27
5+
python: 2.7
56
- env: TOXENV=py34
67
python: 3.4
78
- env: TOXENV=py35
89
python: 3.5
910
- env: TOXENV=py36
1011
python: 3.6
11-
# - env: TOXENV=py37
12-
# python: 3.7
12+
- env: TOXENV=py37
13+
python: 3.7
14+
dist: xenial
15+
sudo: true # required workaround for https://github.com/travis-ci/travis-ci/issues/9815
1316
- env: TOXENV=pypy
1417
python: pypy-5.7.1
1518
- env: TOXENV=pre-commit

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"pytest-django==2.9.1",
2929
"pytest-cov==2.3.1",
3030
"coveralls",
31-
"gevent==1.1rc1",
31+
"gevent>=1.1rc1",
3232
"six>=1.10.0",
3333
"pytest-benchmark==3.0.0",
3434
"pytest-mock==1.2",
@@ -81,5 +81,5 @@ def run_tests(self):
8181
install_requires=install_requires,
8282
tests_require=tests_requires,
8383
cmdclass={"test": PyTest},
84-
extras_require={"gevent": ["gevent==1.1rc1"], "test": tests_requires},
84+
extras_require={"gevent": ["gevent>=1.1rc1"], "test": tests_requires},
8585
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ envlist = py27,py34,py35,py36,py37,pre-commit,pypy,mypy,docs
44
[testenv]
55
deps =
66
pytest>=2.7.2
7-
gevent==1.1rc1
7+
gevent>=1.1rc1
88
promise>=2.0
99
six>=1.10.0
1010
pytest-mock

0 commit comments

Comments
 (0)