summaryrefslogtreecommitdiffstats
path: root/newton/tox.ini
blob: 26a902c2f0ef9ee44f04fba4a3e7ac45319bd54b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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