forked from StackStorm/orquesta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (32 loc) · 892 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
[tox]
envlist = py36,py27,pep8,docs
minversion = 1.6
skipsdist = True
[travis]
python =
2.7: py27, pep8, docs
3.6: py36, pep8, docs
[testenv]
setenv = VIRTUAL_ENV = {envdir}
usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
-r{toxinidir}/requirements-docs.txt
commands =
nosetests -sv --with-xcoverage --cover-package=orquesta orquesta.tests
[testenv:pep8]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python2.7
deps =
-r{toxinidir}/requirements-test.txt
commands =
pylint -E --rcfile={toxinidir}/.pylintrc orquesta
flake8 --config {toxinidir}/.flake8 orquesta
[testenv:docs]
setenv = VIRTUALENV_DIR = {envdir}
commands =
sphinx-build -W -b html docs/source docs/build/html
[hacking]
local-check-factory = orquesta.tests.hacking.factory