Skip to content

Commit 48b36bb

Browse files
authored
Revisit/clean Travis/tox config (#536)
* Travis/tox: only test pytest 3 * Travis: trim down build matrix, drop py3.3
1 parent 0834db0 commit 48b36bb

File tree

2 files changed

+17
-34
lines changed

2 files changed

+17
-34
lines changed

.travis.yml

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,52 +6,37 @@ matrix:
66
fast_finish: true
77
include:
88
- python: 3.6
9-
env: TOXENV=py36-pytest3-djmaster-postgres
9+
env: TOXENV=py36-djmaster-postgres
1010
- python: 3.6
11-
env: TOXENV=py36-pytest3-dj20-postgres
11+
env: TOXENV=py36-dj20-postgres
1212
- python: 3.6
13-
env: TOXENV=py36-pytest3-dj111-postgres
14-
- python: 3.6
15-
env: TOXENV=py36-pytest3-dj110-postgres
16-
- python: 3.6
17-
env: TOXENV=py36-pytest3-dj19-postgres
18-
- python: 3.6
19-
env: TOXENV=py36-pytest3-dj18-postgres
13+
env: TOXENV=py36-dj111-postgres
2014
- python: 3.6
2115
env: TOXENV=py36-checkqa
2216

2317
- python: 3.5
24-
env: TOXENV=py35-pytest3-dj111-postgres
18+
env: TOXENV=py35-dj110-postgres
2519

2620
- python: 3.4
27-
env: TOXENV=py34-pytest3-dj111-postgres
28-
29-
- python: 3.3
30-
env: TOXENV=py34-pytest3-dj18-postgres
21+
env: TOXENV=py34-dj19-postgres
3122

3223
- python: 2.7
33-
env: TOXENV=py27-pytest3-dj111-mysql_innodb
34-
- python: 2.7
35-
env: TOXENV=py27-pytest3-dj111-mysql_myisam
36-
- python: 2.7
37-
env: TOXENV=py27-pytest3-dj111-postgres
38-
- python: 2.7
39-
env: TOXENV=py27-pytest3-dj110-postgres
24+
env: TOXENV=py27-dj111-mysql_innodb
4025
- python: 2.7
41-
env: TOXENV=py27-pytest3-dj19-postgres
26+
env: TOXENV=py27-dj111-mysql_myisam
4227
- python: 2.7
43-
env: TOXENV=py27-pytest3-dj18-postgres
28+
env: TOXENV=py27-dj18-postgres
4429
- python: 2.7
4530
env: TOXENV=py27-checkqa
4631

4732
- python: pypy
48-
env: TOXENV=pypy-pytest3-dj111-sqlite_file
33+
env: TOXENV=pypy-dj111-sqlite_file
4934

5035
- python: pypy3
51-
env: TOXENV=pypy3-pytest3-dj110-sqlite_file
36+
env: TOXENV=pypy3-dj110-sqlite
5237

5338
allow_failures:
54-
- env: TOXENV=py36-pytest3-djmaster-postgres
39+
- env: TOXENV=py36-djmaster-postgres
5540

5641
cache:
5742
directories:

tox.ini

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[tox]
22
envlist =
3-
- py{35,36}-pytest3-dj{20,111,110,19,18}-postgres
4-
- py34-pytest3-dj{20,111,110}-postgres
5-
- py33-pytest3-dj18-postgres
6-
- py27-pytest3-dj{111,110}-{mysql_innodb,mysql_myisam,postgres}
7-
- py27-pytest3-dj{111,110,19,18}-postgres
3+
- py{35,36}-dj{20,111,110,19,18}-postgres
4+
- py34-dj{20,111,110}-postgres
5+
- py33-dj18-postgres
6+
- py27-dj{111,110}-{mysql_innodb,mysql_myisam,postgres}
7+
- py27-dj{111,110,19,18}-postgres
88
- py{36,py27}-checkqa
99

1010
[testenv]
1111
deps =
12+
pytest>=3.0,<4.0
1213
django-configurations==2.0
1314
pytest-xdist==1.15
1415
{env:_PYTESTDJANGO_TOX_EXTRA_DEPS:}
@@ -26,9 +27,6 @@ deps =
2627
mysql_innodb: mysql-python==1.2.5
2728

2829
postgres: psycopg2
29-
30-
pytest2: pytest>=2.9,<3.0
31-
pytest3: pytest>=3.0,<4.0
3230
setenv =
3331
PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
3432

0 commit comments

Comments
 (0)