summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-20 12:58:07 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-20 16:40:22 -0400
commit3c9f936d95cfaebef26e84332367beff30701612 (patch)
tree069f52eaf37f2512d3847f6340973303c5dcb5f3 /tox.ini
parent607df76ebdf5516085835a0a1f7718baf966a6e0 (diff)
[tests] add script to checkout common/soledad
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]