#1133 run litmus tests on travis
This commit is contained in:
parent
6897a618f6
commit
6627863e10
@ -50,11 +50,13 @@ test()
|
||||
|
||||
# Litmus
|
||||
# Run Webrick server
|
||||
bundle exec rails server webrick -e test
|
||||
bundle exec rails server webrick -e test -d
|
||||
# Create a test project with DMS enabled via REST API
|
||||
curl -v -H "Content-Type: application/xml" -X POST --data "@projects.xml" -u admin:admin http://localhost:3000/create.xml
|
||||
# Run Litmus tests
|
||||
litmus http://localhost:3000/dmsf/webdav/c1 admin admin
|
||||
# Shutdown Webrick
|
||||
kill `cat tmp/pids/server.pid`
|
||||
}
|
||||
|
||||
uninstall()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user