Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78f468f

Browse files
committed
Update test matrix
* Drop support for Python 2.6 and 3.3 * Add support for Python 3.6 and 3.7 * Test against latest pytest 2.x and 3.x * Use pytest-xdist<1.18.0 for pytest 2.x. pytest-xdist 1.18.0 requires pytest>=3.0.0
1 parent 55bb4d3 commit 78f468f

3 files changed

Lines changed: 29 additions & 23 deletions

File tree

.travis.yml

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
language: python
2-
python:
3-
- 2.7
4-
env:
5-
matrix:
6-
# Please use "tox --listenvs" to populate the build matrix below.
7-
- TESTENV=py26-pytest29
8-
- TESTENV=py27-pytest29
9-
- TESTENV=py33-pytest29
10-
- TESTENV=py34-pytest29
11-
- TESTENV=py35-pytest29
12-
- TESTENV=pypy-pytest29
13-
- TESTENV=py26-pytest30
14-
- TESTENV=py27-pytest30
15-
- TESTENV=py33-pytest30
16-
- TESTENV=py34-pytest30
17-
- TESTENV=py35-pytest30
18-
- TESTENV=pypy-pytest30
2+
matrix:
3+
include:
4+
- python: 2.7
5+
env: TESTENV=py27-pytest2
6+
- python: 2.7
7+
env: TESTENV=py27-pytest3
8+
- python: 3.4
9+
env: TESTENV=py34-pytest2
10+
- python: 3.4
11+
env: TESTENV=py34-pytest3
12+
- python: 3.5
13+
env: TESTENV=py35-pytest2
14+
- python: 3.5
15+
env: TESTENV=py35-pytest3
16+
- python: 3.6
17+
env: TESTENV=py36-pytest2
18+
- python: 3.6
19+
env: TESTENV=py36-pytest3
20+
- python: 3.7-dev
21+
env: TESTENV=py37-pytest2
22+
- python: 3.7-dev
23+
env: TESTENV=py37-pytest3
1924
install:
2025
- pip install -U tox
2126
script:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
'Topic :: Software Development :: Libraries',
2727
'Topic :: Utilities',
2828
'Programming Language :: Python :: 2',
29-
'Programming Language :: Python :: 2.6',
3029
'Programming Language :: Python :: 2.7',
3130
'Programming Language :: Python :: 3',
32-
'Programming Language :: Python :: 3.3',
3331
'Programming Language :: Python :: 3.4',
3432
'Programming Language :: Python :: 3.5',
33+
'Programming Language :: Python :: 3.6',
34+
'Programming Language :: Python :: 3.7',
3535
'Programming Language :: Python :: Implementation :: PyPy',
3636
]
3737
)

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
22
envlist =
3-
py{26,27,33,34,35,py}-pytest{29,30}
3+
py{27,34,35,36,37,py}-pytest{2,3}
44

55
[testenv]
66
deps =
77
pexpect
8-
pytest29: pytest~=2.9.2
9-
pytest30: pytest~=3.0.2
10-
pytest-xdist
8+
pytest2: pytest<3.0
9+
pytest2: pytest-xdist<1.18.0
10+
pytest3: pytest>3.0
11+
pytest3: pytest-xdist
1112
commands = py.test {posargs}

0 commit comments

Comments
 (0)