summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorefkin <efkin@riseup.net>2017-03-13 19:28:11 +0100
committerKali Kaneko <kali@leap.se>2017-03-17 17:52:55 +0100
commit1034d3107b57f03d7ed2257aef39cede2f6686ef (patch)
tree2b599ea3687566a8eb09c1cc8b591f2cc5181a1c /testing
parent5cf77ccd4df00a59c8cb8d4670f2964f021ae862 (diff)
[test] Prepare new tox environment
At this point tests are not yet collectable in the new environment. But no regressions observed.
Diffstat (limited to 'testing')
-rw-r--r--testing/tox.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index c46c6af1..d959db0a 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -31,6 +31,34 @@ setenv =
TERM=xterm
install_command = pip install {opts} {packages}
+[testenv:py34]
+basepython = python3.4
+commands = py.test --ignore=tests/benchmarks \
+ --cov-report=html \
+ --cov-report=term \
+ --cov=leap.soledad \
+ {posargs}
+usedevelop = True
+deps =
+ coverage
+ pytest
+ pytest-cov
+ pytest-twisted
+ mock
+ testscenarios
+ setuptools-trial
+ couchdb
+ requests
+ service_identity
+# install soledad local packages
+ -e../common
+ -e../client
+ -e../server
+setenv =
+ HOME=/tmp
+ TERM=xterm
+install_command = pip3 install {opts} {packages}
+
[testenv:benchmark]
deps =
{[testenv]deps}