Skip to content

Commit 49413ac

Browse files
committed
Update tox config file to accept Pipfile and to include Python 3.7
1 parent 9716cf1 commit 49413ac

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

tox.ini

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py36
2+
envlist = py36,py37
33

44
[testenv]
55
commands =
@@ -16,10 +16,19 @@ whitelist_externals = /bin/bash
1616

1717
[testenv:py36]
1818
basepython = python3.6
19-
deps = -rrequirements-tests.txt
20-
[testenv:py35]
21-
basepython = python3.5
22-
deps = -rrequirements-tests.txt
23-
[testenv:py27]
24-
basepython = python2.7
25-
deps = -rrequirements-tests.txt
19+
deps = pipenv
20+
commands=
21+
pipenv install --dev --ignore-pipfile
22+
python setup.py test
23+
setenv=
24+
LC_ALL=en_GB.UTF-8
25+
LANG=en_GB.UTF-8
26+
[testenv:py37]
27+
basepython = python3.7
28+
deps = pipenv
29+
commands=
30+
pipenv install --dev --ignore-pipfile
31+
python setup.py test
32+
setenv=
33+
LC_ALL=en_GB.UTF-8
34+
LANG=en_GB.UTF-8

0 commit comments

Comments
 (0)