summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-10-10 14:51:30 +0200
committermayeut <mayeut@users.noreply.github.com>2015-10-10 14:51:30 +0200
commitd5c460fc5fb8161e524421a71afeda123d068796 (patch)
tree4f1501993f1416120601f8086d66ad163c29c919 /tools
parent62006e2b2655c5ed5fcaaf527e960863db968823 (diff)
Download jpylyzer for windows
Diffstat (limited to 'tools')
-rwxr-xr-xtools/travis-ci/install.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/travis-ci/install.sh b/tools/travis-ci/install.sh
index b850bd45..4e6ce69c 100755
--- a/tools/travis-ci/install.sh
+++ b/tools/travis-ci/install.sh
@@ -9,6 +9,7 @@ case ${MACHTYPE} in
esac
if [ "${OPJ_CI_IS_CYGWIN:-}" == "1" ]; then
+ # Hack for appveyor
if ! which wget; then
# PATH is not yet set up
export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
@@ -67,9 +68,15 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
# We need jpylyzer for the test suite
echo "Retrieving jpylyzer"
- wget -qO - https://github.com/openpreserve/jpylyzer/archive/1.14.2.tar.gz | tar -xz
- mv jpylyzer-1.14.2 jpylyzer
- chmod +x jpylyzer/jpylyzer/jpylyzer.py
+ if [ "${APPVEYOR:-}" == "True" ]; then
+ wget -q http://dl.bintray.com/openplanets/opf-windows/jpylyzer_1.14.2_win32.zip
+ cmake -E tar -xf jpylyzer_1.14.2_win32.zip
+ mv jpylyzer_1.14.2_win32 jpylyzer
+ else
+ wget -qO - https://github.com/openpreserve/jpylyzer/archive/1.14.2.tar.gz | tar -xz
+ mv jpylyzer-1.14.2/jpylyzer ./
+ chmod +x jpylyzer/jpylyzer.py
+ fi
# When OPJ_NONCOMMERCIAL=1, kakadu trial binaries are used for testing. Here's the copyright notice from kakadu:
# Copyright is owned by NewSouth Innovations Pty Limited, commercial arm of the UNSW Australia in Sydney.