Skip to content

Commit

Permalink
Make sure we install PyQt4 for QT_PKG=pyqt
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Aug 7, 2016
1 parent d126c88 commit 97ca400
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,12 @@ matrix:

before_install:

# Prepare dependency list
- if [[ $QT_PKG != False ]]; then export CONDA_DEPENDENCIES="$QT_PKG "$CONDA_DEPENDENCIES; fi
# Prepare dependency list. Note that in future, PyQt5 will be the pyqt conda
# package with a version of 5.x rather than a pyqt5 package, so we explicitly
# request pyqt=4 for PyQt4.
- if [[ $QT_PKG == pyside ]]; then export CONDA_DEPENDENCIES="pyside "$CONDA_DEPENDENCIES; fi
- if [[ $QT_PKG == pyqt ]]; then export CONDA_DEPENDENCIES="pyqt=4 "$CONDA_DEPENDENCIES; fi
- if [[ $QT_PKG == pyqt5 ]]; then export CONDA_DEPENDENCIES="pyqt5 "$CONDA_DEPENDENCIES; fi

# Special cases depending on IPython version
- if [[ $IPYTHON_VERSION == 4 ]]; then export CONDA_DEPENDENCIES="traitlets=4.1.0 qtconsole ipykernel "$CONDA_DEPENDENCIES; fi
Expand Down

0 comments on commit 97ca400

Please sign in to comment.