summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 16 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 0eef22c..cea73b2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,9 +17,22 @@ setenv =
HOME=/tmp
[testenv:py27-dev]
+commands =
+ py.test -k 'not bench' --pep8 -x {posargs}
+deps =
+ -r{toxinidir}/pkg/requirements-testing.pip
+ gnupg
+ -egit+https://0xacab.org/leap/leap_pycommon@master#egg=leap.common
+ -egit+https://0xacab.org/leap/soledad@develop#egg=leap.soledad.common&subdirectory=common
+ -egit+https://0xacab.org/leap/soledad@develop#egg=leap.soledad.client&subdirectory=client
+setenv =
+ HOME=/tmp
+ PATH=/usr/bin/:/bin/
+
+[testenv:py27-dev-local]
# This environment assumes leap_common and soledad repos
-# are in the parent folder.
-# Use pkg/tools/checkout_leap.sh script to checkout those.
+# are checked out locally in the parent folder.
+# Use pkg/tools/checkout_leap.sh script to do that.
commands =
py.test -k 'not bench' --pep8 -x {posargs}
deps =
@@ -32,6 +45,7 @@ setenv =
HOME=/tmp
PATH=/usr/bin/:/bin/
+
[testenv:py27-bench]
commands = py.test {posargs}
changedir = bench