forked from pycontribs/jenkinsapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (27 loc) · 759 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
#
# 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
[testenv]
deps=-rrequirements/dev-requirements.txt
usedevelop=
True
commands=
pylint --rcfile=pylintrc --disable R0912 jenkinsapi
pep8 --ignore=E501 jenkinsapi
py.test -sv --cov=jenkinsapi --cov-report=term-missing --cov-report=xml jenkinsapi_tests
[testenv:args]
deps = -rrequirements/dev-requirements.txt
usedevelop = True
commands = {posargs}