Skip to content

Commit

Permalink
Testing: Fix downloading PySide2 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed May 6, 2018
1 parent 4844232 commit 0189f6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/test-pyside2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
export PATH="$HOME/miniconda/bin:$PATH"
source activate test

# Download PySide2 wheel
wget -q http://download.qt.io/snapshots/ci/pyside/5.11/latest/pyside2/PySide2-5.11.0a1-5.11.0-cp27-cp27mu-linux_x86_64.whl -O PySide2-5.11.0a1-5.11.0-cp27-cp27mu-linux_x86_64.whl
wget -q http://download.qt.io/snapshots/ci/pyside/5.11/latest/pyside2/PySide2-5.11.0a1-5.11.0-cp36-cp36m-linux_x86_64.whl -O PySide2-5.11.0a1-5.11.0-cp36-cp36m-linux_x86_64.whl
# Download PySide2 wheels
export URL="download.qt.io/snapshots/ci/pyside/5.11/latest/pyside2/"
wget -q -r --no-parent -A 'PySide2-*-linux_x86_64.whl' http://${URL}

# We use container 3 to test with pip
if [ "$CIRCLE_NODE_INDEX" = "0" ]; then
conda remove -q qt pyqt
pip install PySide2-5.11.0a1-5.11.0-cp27-cp27mu-linux_x86_64.whl
pip install ./${URL}/PySide2-*-cp27-cp27mu-linux_x86_64.whl
elif [ "$CIRCLE_NODE_INDEX" = "3" ]; then
pip uninstall -q -y pyqt5 sip
pip install PySide2-5.11.0a1-5.11.0-cp36-cp36m-linux_x86_64.whl
pip install ./${URL}/PySide2-*-cp36-cp36m-linux_x86_64.whl
else
exit 0
fi
Expand Down

0 comments on commit 0189f6c

Please sign in to comment.