forked from pycontribs/jenkinsapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (32 loc) · 764 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
#
# jenkinsapi tox.ini
#
# This file helps for developers to simulate locally
# what travis will execute when testing merges. See
# http://tox.readthedocs.org for configuration info
#
# Usage:
# $ pip install tox
# $ tox -e py27 # lint/test for python2.7 OR,
# $ tox -e py34 # lint/tests for python3.4 OR,
# $ tox # lint/tests for both
#
[tox]
envlist = py27,py34,py35,py36
[testenv]
deps=-rtest-requirements.txt
passenv =
CI
TRAVIS
TRAVIS_*
usedevelop=
True
commands=
python -m pylint jenkinsapi/
python -m pycodestyle
py.test -sv --cov=jenkinsapi --cov-report=term-missing --cov-report=xml jenkinsapi_tests {posargs}
codecov
[testenv:args]
deps = -rtest-requirements.txt
usedevelop = True
commands = {posargs}