summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 1490ea0de0f2e3a5e06becfde6c2ed176a9fa8d1 (plain)
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
46
47
48
49
50
51
52
[tox]
envlist = py27,py32,py25,py26,py31,pypy15,pypy16,jython,gae

[testenv]
setenv = 
	PASSLIB_TESTS = all
changedir = {envdir}
commands = 
	nosetests passlib.tests

deps =
	nose
	unittest2

[testenv:py27]
deps = 
	nose
	unittest2
	py-bcrypt
	bcryptor

[testenv:py31]
deps = 
       nose
       unittest2py3k

[testenv:py32]
deps = 
       nose
       unittest2py3k

[testenv:pypy15]
basepython = pypy1.5

[testenv:pypy16]
basepython = pypy1.6

[testenv:gae]
# NOTE: annoyingly, have to use --without-sandbox
#       or else nose / nosegae / GAE / virtualenv don't play nice.
#       need to figure out what's the matter, and submit a patch.
#       might just have to write a python script that sets everything
#       up and runs nose manually
basepython = python2.5
deps = 
	nose
	nosegae
	unittest2
changedir = {envdir}/lib/python2.5/site-packages
commands =
        cp {toxinidir}/admin/gae-test-app.yaml app.yaml
        nosetests --with-gae --without-sandbox passlib/tests