summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-04-17 23:14:51 -0400
committerEli Collins <elic@assurancetechnologies.com>2012-04-17 23:14:51 -0400
commit64ab6fc89b497efa9169f11d55251e417c4db0ba (patch)
treeb3f6f5dc27b87a6bc90cb3686fa98239ee8ff053 /tox.ini
parent8eb4c4d3b58eec6802c698ddbf357b2fd243a68c (diff)
parentcd029846fdc0c3d7ffc7f53caad4579e7e0e8725 (diff)
downloadpasslib-ironpython-support-dev.tar.gz
Merge from defaultironpython-support-dev
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini82
1 files changed, 61 insertions, 21 deletions
diff --git a/tox.ini b/tox.ini
index 1490ea0..ea8e2bb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,52 +1,92 @@
[tox]
-envlist = py27,py32,py25,py26,py31,pypy15,pypy16,jython,gae
+envlist = py27,py32,py25,py26,py31,pypy15,pypy16,pypy17,jython,gae25,gae27
+#===========================================================================
+# stock CPython VMs
+#===========================================================================
[testenv]
-setenv =
+setenv =
PASSLIB_TESTS = all
+ PASSLIB_TESTS_FUZZ_TIME = 20
changedir = {envdir}
-commands =
+commands =
nosetests passlib.tests
-
deps =
nose
unittest2
[testenv:py27]
-deps =
+deps =
nose
unittest2
py-bcrypt
bcryptor
[testenv:py31]
-deps =
- nose
- unittest2py3k
+deps =
+ nose
+ unittest2py3k
[testenv:py32]
-deps =
- nose
- unittest2py3k
+deps =
+ nose
+ unittest2py3k
+#===========================================================================
+# PyPy VM - all target Python 2.7
+#===========================================================================
[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
+[testenv:pypy17]
+basepython = pypy1.7
+setenv =
+ PASSLIB_TESTS = all
+ PASSLIB_TESTS_FUZZ_TIME = 20
+ PASSLIB_BUILTIN_BCRYPT = enable # only place this isn't punitively slow
+
+#===========================================================================
+# Jython - no special directives, currently same as py25
+#===========================================================================
+
+#===========================================================================
+# Google App Engine
+#===========================================================================
+[testenv:gae25]
basepython = python2.5
-deps =
+deps =
nose
- nosegae
+ # FIXME: getting all kinds of errors when using nosegae 0.2.0 :(
+ nosegae==0.1.9
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
+ # setup custom app.yaml so GAE can run
+ python -m passlib.tests.tox_support . python
+
+ # have to run without sandbox for now, something in nose+GAE+virtualenv
+ # won't play nice with eachother.
+ nosetests --with-gae --without-sandbox passlib/tests
+
+[testenv:gae27]
+basepython = python2.7
+deps =
+ nose
+ # FIXME: getting all kinds of errors when using nosegae 0.2.0 :(
+ nosegae==0.1.9
+ unittest2
+changedir = {envdir}/lib/python2.7/site-packages
+commands =
+ # setup custom app.yaml so GAE can run
+ python -m passlib.tests.tox_support . python27
+
+ # have to run without sandbox for now, something in nose/GAE/virtualenv
+ # won't play nice with eachother.
+ nosetests --with-gae --without-sandbox passlib/tests
+
+#===========================================================================
+# EOF
+#===========================================================================