summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-20 14:46:02 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-20 14:46:12 +0200
commit8cc032ded94850012fbedad22880037e6daeb12e (patch)
treea8a8f14d657bfc93fc4cbeb346296c245328a6b9
parent9c1d1bd3da383a22702abae4470513be34572d3d (diff)
[tests] run CI with bundled sqlcipher
to workaround the lack of HAVE_USLEEP in debian packages.
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 746f825d..4c444993 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,10 @@ setenv =
# This is the environment that the Gitlab CI runs normally
# we want to pick latest in soledad master and pycommon master
commands =
+# XXX workaround: use a bundled version of pysqlcipher to ensure HAVE_USLEEP is
+# set and we don't have problems with concurrent db access.
+ pip uninstall -y pysqlcipher
+ pip install --install-option="--bundled" pysqlcipher
py.test -k 'not bench' --pep8 {posargs}
deps =
-r{toxinidir}/pkg/requirements-testing.pip