summaryrefslogtreecommitdiff
path: root/tox.ini
blob: e22c80812e2adf17f089be5323171372510751f3 (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
26
27
28
29
[tox]
skip_missing_interpreters = True
envlist =
    py27
    py33
    py34
    py35
    py36
    py37
    pypy_54
    pypy33
    flake8

[testenv]
deps =
    pytest
    pytest-cov
    pytest-travis-fold
passenv =
    TRAVIS
commands =
    sqlformat --version
    py.test --cov=sqlparse {posargs}

[testenv:flake8]
deps =
    flake8
commands =
    flake8 sqlparse tests setup.py