/
tox.ini
29 lines (25 loc) · 727 Bytes
/
tox.ini
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
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = flake8,py3flake8,py27,py34,py35,py36
skip_missing_interpreters = true
[testenv]
deps =
-rdev-requirements.txt
codecov
passenv = CI TRAVIS TRAVIS_*
commands = pytest --cov-report term-missing --cov backtrace tests -v
[testenv:pywin]
deps =
-rdev-requirements.txt
-rtest-requirements.txt
commands=pytest --cov-report term-missing --cov backtrace tests -v
basepython = {env:PYTHON:}\python.exe
passenv=ProgramFiles APPVEYOR LOGNAME USER LNAME USERNAME HOME USERPROFILE
[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 backtrace.py
[testenv:py3flake8]
basepython = python3.6
deps = flake8
commands = flake8 backtrace.py