diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-27 18:09:13 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-28 01:00:04 +0300 |
commit | b753e7631bd318a1f428d8925dec64693879fd0d (patch) | |
tree | f02f3ace2f9958f7068cd2a37ed52a8697e0d1f0 /apps/dav | |
parent | 4d87276f4be55419189fb23d3c3c13f00c19f006 (diff) |
Enable DAV app testing on travis
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/travis/litmus-v1.sh | 24 | ||||
-rw-r--r-- | apps/dav/tests/travis/litmus-v2.sh | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/apps/dav/tests/travis/litmus-v1.sh b/apps/dav/tests/travis/litmus-v1.sh new file mode 100644 index 00000000000..587561ed29f --- /dev/null +++ b/apps/dav/tests/travis/litmus-v1.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +SCRIPT=`realpath $0` +SCRIPTPATH=`dirname $SCRIPT` + + +# start the server +php -S 127.0.0.1:8888 -t "$SCRIPTPATH/../../../.." & + + +# compile litmus +if [ ! -f /tmp/litmus/litmus-0.13.tar.gz ]; then + mkdir -p /tmp/litmus + wget -O /tmp/litmus/litmus-0.13.tar.gz http://www.webdav.org/neon/litmus/litmus-0.13.tar.gz + cd /tmp/litmus + tar -xzf litmus-0.13.tar.gz + cd /tmp/litmus/litmus-0.13 + ./configure + make +fi + +# run the tests +cd /tmp/litmus/litmus-0.13 +make URL=http://127.0.0.1:8888/remote.php/webdav CREDS="admin admin" TESTS="basic copymove props locks" check diff --git a/apps/dav/tests/travis/litmus-v2.sh b/apps/dav/tests/travis/litmus-v2.sh new file mode 100644 index 00000000000..40a06a26e65 --- /dev/null +++ b/apps/dav/tests/travis/litmus-v2.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +SCRIPT=`realpath $0` +SCRIPTPATH=`dirname $SCRIPT` + + +# start the server +php -S 127.0.0.1:8888 -t "$SCRIPTPATH/../../../.." & + + +# compile litmus +if [ ! -f /tmp/litmus/litmus-0.13.tar.gz ]; then + mkdir -p /tmp/litmus + wget -O /tmp/litmus/litmus-0.13.tar.gz http://www.webdav.org/neon/litmus/litmus-0.13.tar.gz + cd /tmp/litmus + tar -xzf litmus-0.13.tar.gz + cd /tmp/litmus/litmus-0.13 + ./configure + make +fi + +# run the tests +cd /tmp/litmus/litmus-0.13 +make URL=http://127.0.0.1:8888/remote.php/dav/files/admin CREDS="admin admin" TESTS="basic copymove props locks" check |