Skip to content

Commit

Permalink
Tox with opencv-python-headless on travis windows
Browse files Browse the repository at this point in the history
opencv-python won't load on windows travis instances,
see opencv/opencv-python#263
  • Loading branch information
pfaion committed May 13, 2020
1 parent acce3b8 commit 109e331
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 109e331

Please sign in to comment.