forked from VUnit/vunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (25 loc) · 1.07 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
[tox]
envlist = py{27,33,34,35}-unit, py{27,33,34,35}-acceptance-{activehdl,ghdl,modelsim,rivierapro}, py{27,35}-lint, py{27,35}-docs, py{27,35}-license
skip_missing_interpreters = True
[testenv]
recreate=True
deps=
py27-unit: mock
lint: pep8
lint: pylint
docs: sphinx
docs: sphinx-argparse
docs: ablog
setenv=
acceptance-activehdl: VUNIT_SIMULATOR=activehdl
acceptance-ghdl: VUNIT_SIMULATOR=ghdl
acceptance-modelsim: VUNIT_SIMULATOR=modelsim
acceptance-rivierapro: VUNIT_SIMULATOR=rivierapro
commands=
unit: {envpython} -m unittest discover vunit/test/unit
acceptance: {envpython} -m unittest discover vunit/test/acceptance
lint: {envpython} -m unittest discover vunit/test/lint -p *pep8.py
lint: {envpython} -m unittest discover vunit/test/lint -p *pylint.py
lint: {envpython} -m unittest discover vunit/test/lint -p *readme.py
license: {envpython} -m unittest discover vunit/test/lint -p *license.py
docs: {envbindir}/sphinx-build -T -E -a -n -b html docs {envtmpdir}/docsbuild