-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
46 lines (38 loc) · 981 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = flake8,py26,py27,py34,py35,deploy
skip_missing_interpreters = true
[testenv]
deps =
-rdev-requirements.txt
codecov
passenv = CI TRAVIS TRAVIS_*
commands =
pytest --cov-report term-missing --cov serv tests/test_serv.py -v -s
coverage combine
[testenv:deploy]
deps =
-rdev-requirements.txt
codecov
commands =
pytest --cov-report term-missing --cov serv tests/test_deploy.py -v -s
coverage combine
[testenv:py26]
basepython = python2.6
[testenv:py27]
basepython = python2.7
[testenv:py34]
basepython = python3.4
[testenv:py35]
basepython = python3.5
[testenv:pywin]
deps =
-rdev-requirements.txt
commands=pytest --cov-report term-missing --cov serv tests/test_deploy.py -v -s
basepython = {env:PYTHON:}\python.exe
passenv=ProgramFiles APPVEYOR LOGNAME USER LNAME USERNAME HOME USERPROFILE
[testenv:flake8]
deps =
flake8
-rdev-requirements.txt
commands=flake8 serv