forked from StackStorm/st2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (29 loc) · 796 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
[tox]
envlist = py27,py34,lint,lint3
skipsdist = true
[testenv]
whitelist_externals = make
setenv = PYTHONPATH = {toxinidir}/external
VIRTUALENV_DIR = {envdir}
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-e{toxinidir}/st2common
-e{toxinidir}/st2tests
-e{toxinidir}/st2actionrunner
-e{toxinidir}/st2api
-e{toxinidir}/st2client
-e{toxinidir}/st2reactor
commands = make .pytests
[testenv:venv]
commands = {posargs}
[testenv:lint]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python2.7
deps = pylint
commands = make .pylint
[testenv:lint3]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python3.4
deps = pylint
commands = make .pylint