Skip to content

Commit

Permalink
tools/travis-ci/install.sh: workaround issue with jpylyzer on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 8, 2023
1 parent e21123b commit 3cf9b7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/travis-ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cf9b7c

Please sign in to comment.