[tox]
envlist = py{26,27,34}-(test),py27-events,py34-events

[testenv]
usedevelop=True
# NOTE: Order is important here, pycurl must be the last dep listed...
deps=
    py26,py27: -rrequirements2.txt
    -rrequirements.txt
passenv = AGRAPH_* PYCURL_SSL_LIBRARY HOME RANDFILE
changedir =
    events: stress/events
commands=
    test: nosetests franz.miniclient.test franz.openrdf.tests
    events: python ./events -d 7 -s 1m -l 1 -q 1 -t 20 --query-size 2000 -u

[testenv:py26-env]
envdir=env
commands=echo "Created virtual environment {envdir}."
whitelist_externals=echo

[testenv:py27-env]
envdir=env
commands=echo "Created virtual environment {envdir}."
whitelist_externals=echo

[tox]
envlist = py{26,27,34}-(test),py27-events,py34-events

[testenv]
usedevelop=True
# NOTE: Order is important here, pycurl must be the last dep listed...
deps=
    py26,py27: -rrequirements2.txt
    -rrequirements.txt
passenv = AGRAPH_* PYCURL_SSL_LIBRARY HOME RANDFILE
changedir =
    events: stress/events
commands=
    test: nosetests franz.miniclient.test franz.openrdf.tests
    events: python ./events -s 10m -l 8 -q 8

[testenv:py26-env]
envdir=env
commands=echo "Created virtual environment {envdir}."
whitelist_externals=echo

[testenv:py27-env]
envdir=env
commands=echo "Created virtual environment {envdir}."
whitelist_externals=echo

Revert default events test args (when invoked from Makefile)
Revert default events test args (when invoked from Makefile)

That is all.

Change-Id: Ic5fa654ef965b6608712a3bb6f9fff25bec9549b
Reviewed-on: https://gerrit.franz.com:9080/5567
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@franz.com>
Reviewed-by: Ahmon Dancy <8f7d8ce2c6797410ae95fecd4c30801ee9f760ac@franz.com>
