1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/tox.ini

34 lines
617 B
INI
Raw Normal View History

2018-11-08 19:45:21 +00:00
[tox]
skipsdist = True
envlist =
py27
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
2019-01-03 21:42:06 +00:00
PIPENV_IGNORE_VIRTUALENVS=1
2018-11-08 19:45:21 +00:00
deps =
2019-01-03 21:42:06 +00:00
pipenv
# for facs
passenv =
HOME
USER
2018-11-08 19:45:21 +00:00
commands =
2019-01-03 21:42:06 +00:00
pipenv install --dev
# pipenv misses these for some reason
pipenv run pip install functools32 pytest
pipenv run facs peeringdb ci --src-dir=.
# this should move to a generated tox path
2019-01-03 21:50:39 +00:00
rm -f peeringdb_com
2019-01-03 21:58:00 +00:00
ln -s ci-dev.peeringdb.com/peeringdb/peeringdb_com/
ls -al peeringdb_com/
2019-01-03 21:42:06 +00:00
pipenv run pytest -rvx --cov-report term-missing --cov=peeringdb_server tests/