-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (38 loc) · 878 Bytes
/
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
[tox]
envlist = py{27,36,37}, flake8, doctest, docs
skip_missing_interpreters = true
[flake8]
max-line-length = 160
exclude =
.git,
.venv,
.tox,
.idea,
venv,
docs/ext
[travis]
python =
2.7: py27, doctest
3.6: py36, doctest
3.7: py37, doctest
[testenv]
commands = nosetests -s --with-coverage --cover-package=hvac --cover-html {posargs}
codecov
deps = -rrequirements.txt
-rrequirements-dev.txt
passenv = CI TRAVIS TRAVIS_* HVAC_*
[testenv:flake8]
deps = flake8
commands = flake8 {posargs}
[testenv:docs]
commands = make html
deps = {[testenv]deps}
-r docs/requirements.txt
changedir = docs
whitelist_externals = make
[testenv:doctest]
commands = make doctest
deps = {[testenv:docs]deps}
changedir = {[testenv:docs]changedir}
whitelist_externals = {[testenv:docs]whitelist_externals}
passenv = {[testenv]passenv}