#1133 run litmus tests on travis

This commit is contained in:
karel.picman@lbcfree.net 2021-02-02 13:55:39 +01:00
parent 6627863e10
commit 401a2b5234

View File

@ -52,7 +52,9 @@ test()
# Run Webrick server
bundle exec rails server webrick -e test -d
# Create a test project with DMS enabled via REST API
cp "${PATH_TO_DMSF}/test/ci/projects.xml" .
curl -v -H "Content-Type: application/xml" -X POST --data "@projects.xml" -u admin:admin http://localhost:3000/create.xml
rm projects.xml
# Run Litmus tests
litmus http://localhost:3000/dmsf/webdav/c1 admin admin
# Shutdown Webrick