summaryrefslogtreecommitdiffstats
path: root/helm/tox.ini
blob: 059a114c5cc205662a1ca552bdfde0b7ace98ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist=flake8,py27

[testenv:py27]
deps =
    # this fixes issue with tox installing coverage --pre
    coverage==3.7.1
    nose-cov
    mock
    testfixtures
    -rdev-requirements.txt
# commands=nosetests --with-cov --cov-report term-missing --cov plugin plugin/tests
commands=nosetests --with-xunit --with-cov --cov-report=xml --cov plugin plugin/tests

[flake8]
ignore=E302,F401,E501,E712,F811,F841,E127,E128.W291

[testenv:flake8]
deps =
    flake8
    -rdev-requirements.txt
commands=flake8 plugin