summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini27
1 files changed, 10 insertions, 17 deletions
diff --git a/tox.ini b/tox.ini
index 0da75a68..07c04b12 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,12 +8,7 @@ commands = py.test --cov-report=html \
-k 'not bench' \
--pep8 {posargs}
deps =
- mock
- pep8
- pytest
- pytest-pep8
- pytest-cov
- setuptools-trial
+ -r{toxinidir}/pkg/requirements-testing.pip
gnupg
leap.soledad.client
-e.
@@ -21,19 +16,17 @@ setenv =
HOME=/tmp
[testenv:py27-dev]
-# This environment assumes developer has checked out
-# leap_common and soledad repos in the parent folder.
+# This environment assumes leap_common and soledad repos
+# are in the parent folder.
+# Use pkg/tools/checkout_leap.sh script to checkout those.
+commands =
+ py.test -k 'not bench' {posargs}
deps =
- mock
- pep8
- pytest
- pytest-pep8
- pytest-cov
- setuptools-trial
+ -r{toxinidir}/pkg/requirements-testing.pip
gnupg
- -e../leap_common
- -e../soledad/common
- -e../soledad/client
+ -e../leap_commondev
+ -e../soledaddev/common
+ -e../soledaddev/client
-e.
[testenv:py27-bench]