forked from mikeperry-tor/vanguards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox-systemonly.ini
29 lines (25 loc) · 876 Bytes
/
tox-systemonly.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
# This tox file will use your system's packages without installing
# any deps into the virtualenv. It is meant to test compatibility
# of your currently installed python packages with vanguards,
# instead of pinned requirements.txt versions.
#
# NOTE these tests *also* send your installed python packages to
# https://pyup.io/safety, to check for CVEs in the dependencies.
# If this is not OK, uncomment the safety check lines.
[tox]
envlist = py2,py3,pypy,pypy3
[testenv]
recreate = True
sitepackages = True
deps =
install_command = easy_install --index-url https://127.0.0.1/ --no-deps {packages}
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
python -m pytest tests {posargs}
pip install safety
safety check
# PyPy has a virtualenv bug on debian that causes it to miss
# dist-packages
[testenv:pypy]
setenv =
PYTHONPATH = /usr/lib/pypy/dist-packages