From 0d2799a98dc5af0e776d32256b9926f47bd3eadb Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 12 Oct 2014 18:35:35 -0500 Subject: [PATCH] Export the MPL variables --- tools/travis_install_optional.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/travis_install_optional.sh b/tools/travis_install_optional.sh index c8d55fdf..0aa24a42 100755 --- a/tools/travis_install_optional.sh +++ b/tools/travis_install_optional.sh @@ -6,16 +6,16 @@ tools/header.py "Install optional dependencies" # Install Qt and then update the Matplotlib settings if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then sudo apt-get install -q python-qt4 - MPL_QT_API=PyQt4 - MPL_DIR=$HOME/.matplotlib + export MPL_QT_API=PyQt4 + export MPL_DIR=$HOME/.matplotlib export QT_API=pyqt else sudo apt-get install -q libqt4-dev pip install PySide $WHEELHOUSE python ~/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/pyside_postinstall.py -install - MPL_QT_API=PySide - MPL_DIR=$HOME/.config/matplotlib + export MPL_QT_API=PySide + export MPL_DIR=$HOME/.config/matplotlib export QT_API=pyside fi