forked from googleapis/artman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (26 loc) · 752 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
[tox]
envlist = py27,pep8,pylint-errors
skipsdist = True
[tox:travis]
2.7 = py27, pep8, pylint-errors
[testenv]
skipdist = True
setenv =
PYTHONPATH = {toxinidir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = py.test --timeout=30 --cov-report html --cov-report=term --cov {toxinidir}/pipeline
[testenv:pep8]
deps = flake8
commands = flake8 --max-complexity=8 pipeline --exclude='test/output' test
[testenv:pylint-errors]
deps = pylint
-r{toxinidir}/requirements.txt
commands = pylint -f colorized -E pipeline --ignore test/output test
[testenv:devenv]
skipdist = True
commands =
envdir = {toxworkdir}/develop
basepython = python2.7
usedevelop = True
deps= -r{toxinidir}/requirements.txt