-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
28 lines (24 loc) · 1 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
[tox]
; A list of all virtualenvs that we wish to build. You might only need to support a single version
; of Python.
envlist=py26,py27,py34,py35
; This is set to use the python.org PyPI server, which is actually the default anyways. You can set
; this to your index server, or just remove it if you want to let it use the default.
indexserver =
default = https://pypi.python.org/simple
[testenv]
; These will be installed with pip before the commands below are run.
deps=
-rrequirements.txt
commands=
# Run unit tests.
py.test --pyargs my_project
[testenv:pip-compile]
; Run this to `pip-compile` your `requirements*.in` files into `requirements.txt`. Note that
; this will use your default version of python when doing dependency resolution, even though there
; are four other environments in `envlist` above.
deps=
# Note that we require `pip-tools` here, *not* in a `requirements.*` file.
pip-tools==1.4.2
commands=
pip-compile requirements.in requirements.testing.in -o requirements.txt