forked from pycontribs/jira
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (41 loc) · 820 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
45
[tox]
minversion = 2.3.1
envlist = lint,py27,py34,py35,py36,docs
skip_missing_interpreters = true
[testenv:docs]
basepython=python
changedir=docs
deps =
-rrequirements.txt
-rdocs/requirements-rtd.txt
commands=
bash -c 'cd {toxinidir}/docs && make html'
[testenv]
usedevelop = True
deps =
-rrequirements.txt
-rrequirements-dev.txt
extras =
cli
opt
# sitepackages is needed in order to make --user work
# see https://github.com/pypa/pip/issues/4141#issuecomment-272907550
sitepackages=True
commands=
python -m pip check
python -m pytest {posargs}
passenv =
CI
CI_JIRA_*
PIP_*
TRAVIS
TRAVIS_*
XDG_CACHE_HOME
envars =
PIP_DISABLE_PIP_VERSON_CHECK=1
PIP_USER=no
whitelist_externals =
bash
[testenv:lint]
commands=
python -m pre_commit run --all