Skip to content

Commit 76aa731

Browse files
committed
Simpler tox
1 parent 104ef71 commit 76aa731

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

tox.ini

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,24 @@
11
[tox]
2-
skipsdist=True
32
skip_missing_interpreters=True
43
envlist =
54
py27
65
py33
76
py34
87
py35
98
py36
9+
py37
1010
check
1111

1212
[testenv]
13-
recreate=True
14-
basepython =
15-
py27: {env:TOXPYTHON:python2.7}
16-
py33: {env:TOXPYTHON:python3.3}
17-
py34: {env:TOXPYTHON:python3.4}
18-
py35: {env:TOXPYTHON:python3.5}
19-
py36: {env:TOXPYTHON:python3.6}
20-
check: python3.5
21-
setenv =
22-
PYTHONUNBUFFERED=True
23-
DISTUTILS_DEBUG=
24-
passenv =
25-
*
13+
deps =
14+
pytest
2615
commands =
27-
python --version
28-
python -c "import struct; print('ARCH: %d' % (struct.calcsize('P') * 8))"
29-
python -c "import ctypes; print('UCS%d' % ctypes.sizeof(ctypes.c_wchar))"
30-
python setup.py bdist_wheel
31-
pip install --no-index --find-links=dist/ pythonnet
32-
{posargs:python src\tests\runtests.py}
16+
{posargs:py.test}
3317

3418
[testenv:check]
3519
ignore_errors=True
20+
skip_install=True
21+
basepython=python3.5
3622
deps =
3723
check-manifest
3824
flake8

0 commit comments

Comments
 (0)