File: tox.ini

package info (click to toggle)
numpy-stl 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,416 kB
  • sloc: python: 1,811; makefile: 139
file content (42 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download
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
[tox]
envlist = {py27,py33,py34,py35,py36,py37}-{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
    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

[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