forked from arbulu89/python-ut-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (30 loc) · 726 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
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py{27,36}
[base]
deps =
pylint
pytest
pytest-cov
[testenv]
changedir=tests
deps =
{[base]deps}
py27: mock
commands =
py.test -vv --cov=utproject --cov-config .coveragerc --cov-report term --cov-report html {posargs}
[testenv:py27-codeclimate]
passenv = TRAVIS TRAVIS_*
changedir=tests
deps =
{[base]deps}
mock
commands =
py.test -vv --cov=utproject --cov-config .coveragerc --cov-report term --cov-report xml {posargs}
[testenv:py36-codeclimate]
passenv = TRAVIS TRAVIS_*
changedir=tests
deps =
{[base]deps}
commands =
py.test -vv --cov=utproject --cov-config .coveragerc --cov-report term --cov-report xml