forked from peeringdb/peeringdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (25 loc) · 617 Bytes
/
tox.ini
File metadata and controls
33 lines (25 loc) · 617 Bytes
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
[tox]
skipsdist = True
envlist =
py27
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
PIPENV_IGNORE_VIRTUALENVS=1
deps =
pipenv
# for facs
passenv =
HOME
USER
commands =
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
rm -f peeringdb_com
ln -s ci-dev.peeringdb.com/peeringdb/peeringdb_com/
ls -al peeringdb_com/
pipenv run pytest -rvx --cov-report term-missing --cov=peeringdb_server tests/