-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathtox.ini
38 lines (33 loc) · 1.21 KB
/
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
38
[tox]
envlist = py27, py35
skipsdist = True
[testenv]
usedevelop = True
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
python setup.py nosetests {posargs}
install_command =
pip install -c {toxinidir}/test-constraints.txt {opts} {packages}
[testenv:py27]
install_command =
pip install -c {toxinidir}/test-constraints-py27.txt {opts} {packages}
[testenv:bump-dependencies-py27]
basepython = python2
skipsdist = True
skip_install = true
install_command = pip install {opts} {packages}
deps = pip-tools==5.5.0
commands =
pip-compile --upgrade --no-index --no-emit-trusted-host --output-file constraints-py27.txt requirements.txt
pip-compile --upgrade --no-index --no-emit-trusted-host --output-file test-constraints-py27.txt test-requirements.txt constraints-py27.txt
[testenv:bump-dependencies]
basepython = python3.5
skipsdist = True
skip_install = true
install_command = pip install {opts} {packages}
deps = pip-tools==5.5.0
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