]> granicus.if.org Git - openjpeg/commitdiff
run with appveyor
authormayeut <mayeut@users.noreply.github.com>
Sat, 10 Oct 2015 16:39:59 +0000 (18:39 +0200)
committermayeut <mayeut@users.noreply.github.com>
Sat, 10 Oct 2015 16:39:59 +0000 (18:39 +0200)
tools/travis-ci/run.sh

index 00487a68854967b42a53e304db4f16985a75e202..a2633aa012a8b4dc738d47739c030cb023ff6676 100755 (executable)
@@ -8,13 +8,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
-       fi
-fi
+# Hack for appveyor to get GNU find in path before windows one.
 export PATH=$(dirname ${BASH}):$PATH
 
 # Set-up some bash options
@@ -168,7 +162,7 @@ export OPJ_DO_SUBMIT=${OPJ_DO_SUBMIT}
 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
 
@@ -176,8 +170,6 @@ echo "
 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')