forked from internap/python-mockserver-friendly-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
28 lines (24 loc) · 745 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
[tox]
envlist = py27,py34,py35,py36,lint
[testenv]
install_command = pip install -c {toxinidir}/test-constraints.txt {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands = ./test-runner.sh
[testenv:lint]
skipsdist = True
skip_install = true
deps = flake8
commands = flake8 {posargs}
[flake8]
show-source = True
max-line-length = 230
include = mockserver,test
[testenv:bump-dependencies]
basepython = python3
skipsdist = True
skip_install = True
deps =
pip-tools==2.0.2
commands =
pip-compile --upgrade --no-index --no-emit-trusted-host --output-file constraints.txt requirements.txt
pip-compile --upgrade --no-index --no-emit-trusted-host --output-file test-constraints.txt test-requirements.txt constraints.txt