aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 28b064f5858f41cc6d2f884ceb563b6b67e8d52d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Tox configuration file
# Read more under https://tox.readthedocs.org/

[tox]
minversion = 1.8
envlist = py27,py34,py36,flake8
skip_missing_interpreters = True

[testenv]
usedevelop = True
changedir = tests
commands =
    py.test {posargs}
deps =
    pytest
    -r{toxinidir}/requirements.txt

[testenv:flake8]
skip_install = True
changedir = {toxinidir}
deps = flake8
commands = flake8 setup.py git_deps tests

# Options for pytest
[pytest]
addopts = -rsxXf