Download jpylyzer for windows

This commit is contained in:
mayeut 2015-10-10 14:51:30 +02:00
parent 62006e2b26
commit d5c460fc5f
1 changed files with 10 additions and 3 deletions

View File

@ -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"
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/jpylyzer.py
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.