aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 2adcad0519bc2115c115ddec9e7e1ab2bf1d2bc2 (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
27
28
29
# 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

[testenv:sdist]
usedevelop = False