From 0189f6cebdfa0789e68bb7ee73b255b2274201e3 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Sun, 6 May 2018 16:55:42 -0500 Subject: [PATCH] Testing: Fix downloading PySide2 wheels --- ci/test-pyside2.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/test-pyside2.sh b/ci/test-pyside2.sh index a5521e0e..043f244c 100755 --- a/ci/test-pyside2.sh +++ b/ci/test-pyside2.sh @@ -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