-
Notifications
You must be signed in to change notification settings - Fork 89
/
tox.pip6.ini
43 lines (35 loc) · 1.21 KB
/
tox.pip6.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
# New versions of pip require the --trusted-host parameter
# otherwise they die hard.
# Old versions of pip die hard if --trusted-host is present.
#
# Standard virtualenv such as Debian's uses an old version of pip
# travis-ci.org which we use for acceptance testing uses a new version
#
# The only solution I have managed to come up with is to have two files.
# One providing a config for each system.
# tox.ini is the default and set for the old pip versions
# tox.pip18.ini is for new pip versions and is used by .travis.yml
[tox]
envlist = py27
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
usedevelop = True
install_command = pip install --find-links=http://effbot.org/downloads --trusted-host=effbot.org {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py27]
commands = python -m pytest
[testenv:pep8]
commands = flake8 {posargs}
[testenv:cover]
commands = python setup.py testr --coverage {posargs}
[testenv:venv]
commands = {posargs}
[testenv:pserve]
commands = pserve --reload development.ini {posargs}
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg,zkpylons,zk,alembic,data