-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (28 loc) · 892 Bytes
/
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
29
30
31
32
33
34
35
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27, py34, py35, py36, pypy, pypy3
skip_missing_interpreters=true
[travis]
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36
pypy = pypy
pypy3 = pypy3
# Note : We can depend on travis matrix if needed
;[travis:env]
;DJANGO =
; 1.7: django17
; 1.8: django18, docs
[testenv]
deps =
# TODO : check why / how install_requires are installed or not in tox environments...
-rrequirements-dev.txt
# to always force recreation and avoid unexpected side effects
recreate=True
commands=
# we want to make sure python finds the installed package in tox env
# and doesn't confuse with pyc generated during dev (which happens if we use self test feature here)
# using fokred here to prevent import module pollution
python -m pytest -v tests {posargs} --forked
# Note : -s here might break your terminal...