summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 2a94607a441a33015ca103357288337d9a81d6ab (plain)
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
[tox]
downloadcache = {toxworkdir}/cache/
envlist =
    py27,
    py34,
    py35,
    py36,
    pypy,

[testenv]
basepython =
    py27: python2.7
    py34: python3.4
    py35: python3.5
    py36: python3.6
    pypy: pypy
commands =
    pip install -e .
    # actual flake8 test
    flake8 sshuttle tests
    # flake8 complexity warnings
    flake8 sshuttle tests --exit-zero --max-complexity=10
    pytest
deps =
    -rrequirements-tests.txt