aboutsummaryrefslogtreecommitdiffhomepage
path: root/tox.ini
blob: 2f98f90f33fa86eb3984c013bc23fc8c575b6510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
envlist = pep8, py27
skipsdist = True

[testenv]
whitelist_externals =
  find
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
sitepackages = True
commands =
  find . -type f -name "*.pyc" -delete

[testenv:pep8]
deps = hacking
commands =
  find . -type f -name "*.pyc" -delete
  flake8 {posargs}

[testenv:py27]
commands =
  find . -type f -name "*.pyc" -delete
  python setup.py nosetests --verbosity=3 --with-xcoverage {posargs}