mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Correcting vtk install condition.
This commit is contained in:
parent
a10c357b01
commit
8be83ff9df
1 changed files with 6 additions and 6 deletions
|
|
@ -23,12 +23,12 @@ fi
|
|||
# Build and install OpenMC executable
|
||||
python tools/ci/travis-install.py
|
||||
|
||||
# Install Python API in editable mode
|
||||
pip install -e .[test]
|
||||
|
||||
# conditionally install vtk
|
||||
if [ $TRAVIS_PYTHON_VERSION -ne 3.7 ]; then
|
||||
pip install -e .[vtk]
|
||||
if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then
|
||||
# Install Python API in editable mode
|
||||
pip install -e .[test]
|
||||
else
|
||||
# Conditionally install vtk
|
||||
pip install -e .[test,vtk]
|
||||
fi
|
||||
|
||||
# For uploading to coveralls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue