Skip to content

Commit 325abf7

Browse files
authored
Merge pull request AltSchool#302 from AltSchool/update-tox-052020
Update tox testing
2 parents cacad3c + 5c2f724 commit 325abf7

File tree

5 files changed

+41
-17
lines changed

5 files changed

+41
-17
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
command: ENABLE_INTEGRATION_TESTS=True py.test tests/integration
5555
- run:
5656
name: Run Tox Tests
57-
command: tox --parallel=4
57+
command: tox --parallel=4 -q
5858

5959
workflows:
6060
version: 2

.circleci/python-versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.16 3.5.7 3.6.9 3.7.4
1+
2.7.17 3.5.8 3.6.9 3.7.5 3.8.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ pytest-sugar==0.9.0
88
pytest==3.2.5 # last supported version python 2
99
psycopg2==2.7.3.2
1010
tox-pyenv==1.1.0
11-
tox==3.13.2
11+
tox==3.14.6
1212
djay==0.0.8

setup.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,18 @@
1818
packages=find_packages(),
1919
scripts=SCRIPTS,
2020
url=URL,
21-
version=VERSION
21+
version=VERSION,
22+
classifiers=[
23+
'Framework :: Django',
24+
'Intended Audience :: Developers',
25+
'License :: OSI Approved :: BSD License',
26+
'Programming Language :: Python',
27+
'Programming Language :: Python :: 2',
28+
'Programming Language :: Python :: 2.7',
29+
'Programming Language :: Python :: 3',
30+
'Programming Language :: Python :: 3.5',
31+
'Programming Language :: Python :: 3.6',
32+
'Programming Language :: Python :: 3.7',
33+
'Topic :: Software Development :: Libraries :: Python Modules',
34+
],
2235
)

tox.ini

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,47 @@ addopts=--tb=short
44
[tox]
55
envlist =
66
py27-lint,
7-
{py27,py35,py36}-django111-drf{34,35,36,37,39},
8-
{py35}-django{20,21,22}-drf{37,38,39,310},
9-
{py36,py37}-django{20,21,22}-drf{38,39,310},
7+
py37-lint,
8+
{py27,py35,py36,py37}-django111-drf{37,38,39},
9+
{py35}-django{20,21,22}-drf{37,38,39,310,311},
10+
{py36,py37}-django{20,21,22}-drf{38,39,310,311},
1011

1112
[testenv]
1213
commands = ./runtests.py --fast {posargs} --coverage -rw
1314
setenv =
1415
PYTHONDONTWRITEBYTECODE=1
1516
deps =
16-
django111: Django==1.11.7
17+
django111: Django==1.11.29
1718
django20: Django==2.0.13
18-
django21: Django==2.1.10
19-
django22: Django==2.2.3
20-
drf34: djangorestframework==3.4.7
21-
drf35: djangorestframework==3.5.4
22-
drf36: djangorestframework==3.6.2
19+
django21: Django==2.1.15
20+
django22: Django==2.2.12
2321
drf37: djangorestframework==3.7.7
2422
drf38: djangorestframework==3.8.2
2523
drf39: djangorestframework==3.9.4
26-
drf310: djangorestframework==3.10.2
24+
drf310: djangorestframework==3.10.3
25+
drf311: djangorestframework==3.11.0
2726
-rrequirements.test.txt
2827

2928
[testenv:py27-lint]
3029
commands = ./runtests.py --lintonly
3130
deps =
3231
-rrequirements.txt
3332

34-
[testenv:py27-drf37-benchmarks]
33+
[testenv:py37-lint]
34+
commands = ./runtests.py --lintonly
35+
deps =
36+
-rrequirements.txt
37+
38+
[testenv:py27-drf39-benchmarks]
39+
commands = ./runtests.py --benchmarks
40+
deps =
41+
Django==1.11.29
42+
djangorestframework==3.9.4
43+
-rrequirements.benchmark.txt
44+
45+
[testenv:py37-drf311-benchmarks]
3546
commands = ./runtests.py --benchmarks
3647
deps =
37-
Django==1.11.2
38-
djangorestframework==3.7.7
48+
Django==2.2.12
49+
djangorestframework==3.11.0
3950
-rrequirements.benchmark.txt

0 commit comments

Comments
 (0)