Adding vtk install to tests.

This commit is contained in:
Patrick Shriwise 2018-10-04 12:43:32 -05:00
parent 4c6798b3e0
commit 755d0a5a5f
2 changed files with 11 additions and 2 deletions

View file

@ -26,5 +26,10 @@ python tools/ci/travis-install.py
# Install Python API in editable mode
pip install -e .[test]
a=$(dpkg --compare-versions $(python --version | cut -d" " -f 2) lt 3.7.0)
if [ $a -eq 0 ]; then
pip install -e .[vtk]
fi
# For uploading to coveralls
pip install coveralls