Skip to content

Commit 8550018

Browse files
committed
tests/Travis: test against latest pytest 3
1 parent 109cceb commit 8550018

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

.travis.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,60 @@ matrix:
77
include:
88

99
- python: 3.6
10-
env: TOXENV=py36-pytest30-djangomaster-postgres
10+
env: TOXENV=py36-pytest3-djangomaster-postgres
1111
- python: 3.6
12-
env: TOXENV=py36-pytest30-django1.11-postgres
12+
env: TOXENV=py36-pytest3-django1.11-postgres
1313
- python: 3.6
14-
env: TOXENV=py36-pytest30-django1.10-postgres
14+
env: TOXENV=py36-pytest3-django1.10-postgres
1515
- python: 3.6
16-
env: TOXENV=py36-pytest30-django1.9-postgres
16+
env: TOXENV=py36-pytest3-django1.9-postgres
1717
- python: 3.6
18-
env: TOXENV=py36-pytest30-django1.8-postgres
18+
env: TOXENV=py36-pytest3-django1.8-postgres
1919
- python: 3.6
2020
env: TOXENV=py36-checkqa
2121

2222
- python: 3.5
23-
env: TOXENV=py35-pytest30-django1.11-postgres
23+
env: TOXENV=py35-pytest3-django1.11-postgres
2424

2525
- python: 3.4
26-
env: TOXENV=py34-pytest30-django1.11-postgres
26+
env: TOXENV=py34-pytest3-django1.11-postgres
2727

2828
- python: 3.3
29-
env: TOXENV=py34-pytest30-django1.8-postgres
29+
env: TOXENV=py34-pytest3-django1.8-postgres
3030

3131
- python: 2.7
32-
env: TOXENV=py27-pytest30-django1.11-mysql_innodb
32+
env: TOXENV=py27-pytest3-django1.11-mysql_innodb
3333
- python: 2.7
34-
env: TOXENV=py27-pytest30-django1.11-mysql_myisam
34+
env: TOXENV=py27-pytest3-django1.11-mysql_myisam
3535
- python: 2.7
36-
env: TOXENV=py27-pytest30-django1.11-postgres
36+
env: TOXENV=py27-pytest3-django1.11-postgres
3737
- python: 2.7
38-
env: TOXENV=py27-pytest30-django1.10-postgres
38+
env: TOXENV=py27-pytest3-django1.10-postgres
3939
- python: 2.7
40-
env: TOXENV=py27-pytest30-django1.9-postgres
40+
env: TOXENV=py27-pytest3-django1.9-postgres
4141
- python: 2.7
42-
env: TOXENV=py27-pytest30-django1.8-postgres
42+
env: TOXENV=py27-pytest3-django1.8-postgres
4343
- python: 2.7
44-
env: TOXENV=py27-pytest30-django1.7-postgres
44+
env: TOXENV=py27-pytest3-django1.7-postgres
4545
- python: 2.7
4646
env: TOXENV=py27-checkqa
4747

4848
- python: pypy
49-
env: TOXENV=pypy-pytest30-django1.11-sqlite_file
49+
env: TOXENV=pypy-pytest3-django1.11-sqlite_file
5050

5151
- python: pypy3
52-
env: TOXENV=pypy3-pytest30-django1.8-sqlite
52+
env: TOXENV=pypy3-pytest3-django1.8-sqlite
5353
- python: pypy3
54-
env: TOXENV=pypy3-pytest30-django1.10-sqlite_file
54+
env: TOXENV=pypy3-pytest3-django1.10-sqlite_file
5555

5656
allow_failures:
57-
- env: TOXENV=py36-pytest30-djangomaster-postgres
57+
- env: TOXENV=py36-pytest3-djangomaster-postgres
5858

5959
# Temporary.
6060
# https://github.com/pytest-dev/pytest-django/pull/445
6161
# https://github.com/pytest-dev/pytest-django/issues/448
62-
- env: TOXENV=pypy3-pytest30-django1.8-sqlite
63-
- env: TOXENV=pypy3-pytest30-django1.10-sqlite_file
62+
- env: TOXENV=pypy3-pytest3-django1.8-sqlite
63+
- env: TOXENV=pypy3-pytest3-django1.10-sqlite_file
6464

6565
cache:
6666
directories:

tox.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
22
envlist =
3-
- py{35,36}-pytest30-django{master,1.11,1.10,1.9,1.8}-postgres
4-
- py34-pytest30-django{1.11,1.10}-postgres
5-
- py33-pytest30-django1.8-postgres
6-
- py27-pytest30-django{1.11,1.10}-{mysql_innodb,mysql_myisam,postgres}
7-
- py27-pytest30-django{1.11,1.10,1.9,1.8,1.7}-postgres
8-
- pypy3-pytest30-django1.8-{sqlite,sqlite_file}
9-
- pypy3-pytest29-django1.8-sqlite_file
10-
- pypy-pytest30-django1.10-sqlite_file
3+
- py{35,36}-pytest3-django{master,1.11,1.10,1.9,1.8}-postgres
4+
- py34-pytest3-django{1.11,1.10}-postgres
5+
- py33-pytest3-django1.8-postgres
6+
- py27-pytest3-django{1.11,1.10}-{mysql_innodb,mysql_myisam,postgres}
7+
- py27-pytest3-django{1.11,1.10,1.9,1.8,1.7}-postgres
8+
- pypy3-pytest3-django1.8-{sqlite,sqlite_file}
9+
- pypy3-pytest2-django1.8-sqlite_file
10+
- pypy-pytest3-django1.10-sqlite_file
1111
- py{35,py27}-checkqa
1212

1313
[testenv]
@@ -29,8 +29,8 @@ deps =
2929

3030
postgres: psycopg2
3131

32-
pytest29: pytest>=2.9,<3.0
33-
pytest30: pytest>=3.0,<3.1.11a1
32+
pytest2: pytest>=2.9,<3.0
33+
pytest3: pytest>=3.0,<4.0
3434

3535
setenv =
3636
PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}

0 commit comments

Comments
 (0)