-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (38 loc) · 1.14 KB
/
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
36
37
38
39
40
41
42
43
44
45
# 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
# not tested yet
#pypy = pypy
#pypy3 = pypy3
# TMP because our dependencies are not in pips
# we skip sdist since currently our sdist doesnt generate messages
# we will manually setup the package via develop in [testenv]
skipsdist=True
# Note : We can depend on travis matrix if needed
;[travis:env]
;DJANGO =
; 1.7: django17
; 1.8: django18, docs
[testenv]
whitelist_externals = git
deps =
# only when we want to test latest unreleased filefinder2 | genpy | genmsg
-rrequirements-dev.txt
# to always force recreation and avoid unexpected side effects
recreate=True
commands=
git submodule sync -q
git submodule update --init
# 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)
py.test --pyargs tests {posargs} --boxed
py.test --pyargs testpatchs {posargs} --boxed
# Note : -s here might break your terminal...