From 109e3311530f70fc51b719cbd443f9f269300d5c Mon Sep 17 00:00:00 2001 From: Patrick Faion Date: Wed, 13 May 2020 09:50:23 +0200 Subject: [PATCH] Tox with opencv-python-headless on travis windows opencv-python won't load on windows travis instances, see https://github.com/skvark/opencv-python/issues/263 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index a2929f47..a13506ae 100644 --- a/tox.ini +++ b/tox.ini @@ -8,4 +8,9 @@ changedir = tests deps = pytest commands = python -m pip install -U pip + # opencv-python does not work on travis because of missing UI libraries + # see https://github.com/skvark/opencv-python/issues/263 + python -m pip uninstall -y opencv-python + python -m pip install opencv-python-headless + pytest --basetemp={envtmpdir} \ No newline at end of file