summaryrefslogtreecommitdiff
path: root/tools/travis-ci/install.sh
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2023-12-08 12:06:51 +0100
committerEven Rouault <even.rouault@spatialys.com>2023-12-08 13:28:49 +0100
commitd5af1d23a718e1d55ea368bad044f7f2b9e98012 (patch)
treecbaf5259445023d0d43ec56eb3682baf043da987 /tools/travis-ci/install.sh
parente21123b6991c2d64339ecebd6617f2f7c42de783 (diff)
tools/travis-ci/install.sh: workaround issue with jpylyzer on Mac
Diffstat (limited to 'tools/travis-ci/install.sh')
-rwxr-xr-xtools/travis-ci/install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/travis-ci/install.sh b/tools/travis-ci/install.sh
index 62d8c30e..1407ae8b 100755
--- a/tools/travis-ci/install.sh
+++ b/tools/travis-ci/install.sh
@@ -59,7 +59,9 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
# We need jpylyzer for the test suite
JPYLYZER_VERSION="1.17.0"
echo "Retrieving jpylyzer"
- if [ "${APPVEYOR:-}" == "True" -o "${RUNNER_OS:-}" == "Windows" ]; then
+ if [ "${TRAVIS_OS_NAME:-}" == "osx" -o "${RUNNER_OS:-}" == "macOS" ] || uname -s | grep -i Darwin &> /dev/null; then
+ echo "Skip Retrieving jpylyzer on OSX. Related tests no longer work on CI"
+ elif [ "${APPVEYOR:-}" == "True" -o "${RUNNER_OS:-}" == "Windows" ]; then
wget -q https://github.com/openpreserve/jpylyzer/releases/download/${JPYLYZER_VERSION}/jpylyzer_${JPYLYZER_VERSION}_win32.zip
mkdir jpylyzer
cd jpylyzer