From 283e759b378ec4cf8eca388e1fbfc93b380b4501 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 10 Oct 2014 22:07:04 -0500 Subject: [PATCH] Matplotlibrc was in a different location in mpl 1.1.1 --- tools/travis_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/travis_test.sh b/tools/travis_test.sh index 6ed95049..c3e14423 100755 --- a/tools/travis_test.sh +++ b/tools/travis_test.sh @@ -17,6 +17,7 @@ tools/header.py "Install optional dependencies" if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then sudo apt-get install -q python-qt4 MPL_QT_API=PyQt4 + MPL_DIR=$HOME/.matplotlibrc export QT_API=pyqt else @@ -24,6 +25,7 @@ else pip install PySide $WHEELHOUSE python ~/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/pyside_postinstall.py -install MPL_QT_API=PySide + MPL_DIR=$HOME/.config/matplotlibrc export QT_API=pyside fi @@ -46,7 +48,6 @@ if [[ $TRAVIS_PYTHON_VERSION == 2.* ]]; then fi # Matplotlib settings - do not show figures during doc examples -MPL_DIR=$HOME/.config/matplotlib mkdir -p $MPL_DIR touch $MPL_DIR/matplotlibrc echo 'backend : Template' > $MPL_DIR/matplotlibrc