forked from wolph/numpy-stl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
48 lines (44 loc) · 1.48 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
envlist = {py27,py33,py34,py35,py36,py37,py38,py39}-{windows-32,windows-64,nix}, docs, flake8
skip_missing_interpreters = True
[testenv]
deps = -rtests/requirements.txt
commands =
python setup.py build_ext --inplace
python -m pytest -vvv {posargs}
basepython =
py27-nix: python2.7
py34-nix: python3.4
py35-nix: python3.5
py36-nix: python3.6
py37-nix: python3.7
py38-nix: python3.8
py39-nix: python3.9
py27-windows-32: C:\\Python27\\python.exe
py27-windows-64: C:\\Python27-x64\\python.exe
py34-windows-32: C:\\Python34\\python.exe
py34-windows-64: C:\\Python34-x64\\python.exe
py35-windows-32: C:\\Python35\\python.exe
py35-windows-64: C:\\Python35-x64\\python.exe
py36-windows-32: C:\\Python36\\python.exe
py36-windows-64: C:\\Python36-x64\\python.exe
py37-windows-32: C:\\Python37\\python.exe
py37-windows-64: C:\\Python37-x64\\python.exe
py38-windows-32: C:\\Python38\\python.exe
py38-windows-64: C:\\Python38-x64\\python.exe
py39-windows-32: C:\\Python39\\python.exe
py39-windows-64: C:\\Python39-x64\\python.exe
[testenv:flake8]
basepython=python
commands = flake8 --ignore=W391 stl tests
[testenv:docs]
basepython=python
changedir=docs
commands=
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
# sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:py36-nix]
# one optional test has PyQt5 dep, only test that once
deps =
-rtests/requirements.txt
PyQt5