summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 37105621478310e929c3c29fea3e180d96264103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Tox (http://tox.testrun.org/) is a tool for running tests in
# multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip
# install tox" and then run "tox" from this directory.

[tox]
envlist = py27, py33, py34, py35, flake8

[testenv]
sitepackages = False
deps = -r{toxinidir}/dev-requirements.txt
commands = python {envbindir}/coverage run --source pykwalify -p -m py.test -v

[testenv:flake8]
deps = flake8
commands = flake8 --max-line-length=160 --show-source --statistics --exclude=.venv,.tox,dist,docs,build,.git