forked from jazzband/pip-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
46 lines (41 loc) · 978 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
37
38
39
40
41
42
43
44
45
46
[tox]
envlist =
py{27,34,35,36,py}-pip{8.1.1,9.0.1,9.0.3,latest,master}
flake8
readme
skip_missing_interpreters = True
[testenv]
deps =
piplatest: pip
pipmaster: -e git+https://github.com/pypa/pip.git@master#egg=pip
pip8.1.1: pip==8.1.1
pip9.0.1: pip==9.0.1
pip9.0.3: pip==9.0.3
coverage
mock
pytest
setenv =
piplatest: PIP=latest
pipmaster: PIP=master
pip8.1.1: PIP=8.1.1
pip9.0.1: PIP=9.0.1
pip9.0.3: PIP=9.0.3
install_command= python -m pip install {opts} {packages}
commands =
pip --version
coverage run -m pytest --strict --doctest-modules {posargs:tests/ piptools/}
coverage report -m
coverage html
[testenv:flake8]
deps = flake8
commands = flake8 piptools tests
[testenv:readme]
deps = readme_renderer
commands = python setup.py check --restructuredtext --strict
[travis:env]
PIP =
8.1.1: pip8.1.1
9.0.1: pip9.0.1
9.0.3: pip9.0.3
latest: piplatest
master: pipmaster