*) ;;
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
- fi
-fi
+# Hack for appveyor to get GNU find in path before windows one.
export PATH=$(dirname ${BASH}):$PATH
# Set-up some bash options
ctest -S ${OPJ_SOURCE_DIR}/tools/ctest_scripts/travis-ci.cmake -VV || true
# ctest will exit with various error codes depending on version.
# ignore ctest exit code & parse this ourselves
-#set +x
+set +x
# let's parse configure/build/tests for failure
Parsing logs for failures
"
OPJ_CI_RESULT=0
-which find
-find build -path 'build/Testing/*'
# 1st configure step
OPJ_CONFIGURE_XML=$(find build -path 'build/Testing/*' -name 'Configure.xml')