From 5a523715ff831978394a347955fd77af9f44a4f4 Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Tue, 18 Jan 2022 00:13:12 +0100 Subject: [PATCH] remove outdated travis file --- .travis.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 62f45f3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -os: linux -dist: focal -language: java - -services: - - docker - -env: - - DOCKER_IMAGE=stadlerpeter/existdb EXIST_AUTODEPLOY=/opt/exist/autodeploy - - DOCKER_IMAGE=stadlerpeter/existdb:3.3.0 EXIST_AUTODEPLOY=/opt/exist/autodeploy - - DOCKER_IMAGE=stadlerpeter/existdb:5.2 EXIST_AUTODEPLOY=/opt/exist/autodeploy - - DOCKER_IMAGE=existdb/existdb:5.2.0 EXIST_AUTODEPLOY=/exist/autodeploy - -before_install: - - docker pull ${DOCKER_IMAGE} - - ant xar - - curl http://exist-db.org/exist/apps/public-repo/public/functx-1.0.1.xar -o build/functx-1.0.1.xar - - docker create --name exist -p 8080:8080 ${DOCKER_IMAGE} - - for i in build/*.xar ; do docker cp $i exist:${EXIST_AUTODEPLOY}/ ; done - - docker start exist - - i=0 ; while (! docker inspect exist | grep -e Status....healthy) ; do if ((i > 30)) ; then echo ' **** timeout ... aborting **** ' ; exit 1 ; else sleep 5 ; echo waiting for container ... ; i=$((i+1)) ; fi ; done - - curl -LsS http://localhost:8080/exist/apps/WeGA-WebApp-lib/testing/run-tests.xql -o report.xml - -script: - - grep testsuite report.xml && (! grep 'failures="[1-9]' report.xml) && (! grep 'errors="[1-9]' report.xml) - -after_failure: - - cat report.xml