From 8cc032ded94850012fbedad22880037e6daeb12e Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 20 Apr 2017 14:46:02 +0200 Subject: [tests] run CI with bundled sqlcipher to workaround the lack of HAVE_USLEEP in debian packages. --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3