From 1adbbe003cd8b6a73dde698ae17e015efe28b83d Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 2 May 2019 22:05:24 +0200 Subject: [PATCH] tox: Disable pip cache for coala venv Some packages required by coala venv are already cached by pip2, leading to issues like [1] when trying to install them for pip3. Bypass the pip cache in order to avoid this. [1] https://github.com/pypa/pip/issues/5250 Change-Id: I9e8ce52223cdc84d855cc8fe899efa6e22b84ab9 Signed-off-by: Alexandru Avadanii --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 1e35c7a..44ad8e0 100644 --- a/tox.ini +++ b/tox.ini @@ -28,10 +28,11 @@ commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir} [testenv:coala] basepython = python3 +install_command = python -m pip install --no-cache-dir {opts} {packages} whitelist_externals = rm deps = coala coala-bears commands = - rm -rf src/use_cases/seba_on_arm/src_repo/ - coala --non-interactive + rm -rf src/use_cases/seba_on_arm/src_repo/ + coala --non-interactive -- 2.16.6