-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
34 lines (32 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
30
31
32
33
34
[tox]
envlist = py{36}-dj{111,20,master},isort,docs
whitelist_externals=sphinx-build
[testenv]
install_command=pip install {opts} {packages} --extra-index-url https://pypi.viewflow.io/{env:PRO_KEY}/simple/
deps=
-rrequirements-dev.txt
django-viewflow-pro
dj18: https://github.com/django/django/archive/stable/1.8.x.tar.gz#egg=django
dj111: https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
dj20: https://github.com/django/django/archive/stable/2.0.x.tar.gz#egg=django
djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django
setenv =
PYTHONPATH = {toxinidir}
commands=
coverage run --source=viewflow_extensions -m 'pytest' \
--basetemp={envtmpdir} \
--ignore=.tox \
{posargs}
[testenv:isort]
changedir={toxinidir}
deps=
isort
commands=
isort --check-only --recursive --diff {posargs}
[testenv:docs]
changedir={toxinidir}
deps=
-rrequirements-dev.txt
django-viewflow-pro
https://github.com/django/django/archive/stable/2.0.x.tar.gz#egg=django
commands=python setup.py build_sphinx