-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
31 lines (26 loc) · 798 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
[tox]
envlist = py27, py34, py35, py36, py37, pep8py2, pep8py3, packagepy2, packagepy3
skip_missing_interpreters = true
[testenv]
deps = -rrequirements.txt
commands =
{envpython} -m bamboo_ipa_sync --help
{envpython} -m bamboo_ipa_sync --version
bamboo_ipa_sync --help
bamboo_ipa_sync --version
[testenv:pep8py2]
basepython = python2
deps = pycodestyle
commands = {envpython} -m pycodestyle --max-line-length=120 {toxinidir}/bamboo_ipa_sync
[testenv:packagepy2]
basepython = python2
deps = wheel
commands = {envpython} setup.py package
[testenv:pep8py3]
basepython = python3
deps = pycodestyle
commands = {envpython} -m pycodestyle --max-line-length=120 {toxinidir}/bamboo_ipa_sync
[testenv:packagepy3]
basepython = python3
deps = wheel
commands = {envpython} setup.py package