Skip to content

Commit a903253

Browse files
committed
[TEST] Fail fast fail early
1 parent a0a077e commit a903253

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tools/install_dependencies.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,22 @@ if [ -n "${OPTIONAL_DEPENDS}" ]; then
99
for DEP in ${OPTIONAL_DEPENDS}; do
1010
if [ ${DEP} == "mayavi" ]; then
1111
python -m pip install numpy vtk
12-
sudo apt-get install -y xvfb x11-utils libxkbcommon-x11-0
12+
sudo apt-get install -y xvfb \
13+
x11-utils \
14+
mencoder \
15+
libosmesa6 \
16+
libglx-mesa0 \
17+
libopengl0 \
18+
libglx0 \
19+
libdbus-1-3 \
20+
qt5-default
1321
fi
1422
python -m pip install $DEP || true
1523
done
1624
fi
1725

1826
echo "Finished installed dependencies"
27+
28+
if [[ ${OPTIONAL_DEPENDS} == *"mayavi"* ]]; then
29+
LIBGL_DEBUG=verbose /usr/bin/xvfb-run --auto-servernum python -c "from mayavi import mlab; import matplotlib.pyplot as plt; mlab.figure(); plt.figure()"
30+
fi

0 commit comments

Comments
 (0)