summaryrefslogtreecommitdiffstats
path: root/newton/tox.ini
blob: 919ad18fe80d3008a53e3dbe3369041b96fbbb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tox]
envlist = py27,py35
skipsdist = true

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv]
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps =
    -r{toxinidir}/requirements.txt
    -r{toxinidir}/test-requirements.txt
commands =
  coverage run --branch manage.py test

[testenv:cover]
commands =
  coverage html --omit=".tox/*,*tests*,*__init__.py"
  coverage report --omit=".tox/*,*tests*,*__init__.py" --fail-under=30
  coverage xml -i