Commit 829a474d authored by Piotr Gawron's avatar Piotr Gawron

curl is not preinstalled

parent 0e7835c4
......@@ -7,6 +7,8 @@ test_debian_stretch:
- privileged
- apt-get update
- apt-get install -y curl
- echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
#hacky way of installing minerva on docker - by default rc-invoke is preventing services changes on docker
- mv /usr/sbin/policy-rc.d /usr/sbin/policy-rc.d.backup
......@@ -21,8 +23,7 @@ test_debian_stretch:
- sleep 15
- wget http://localhost:8080/minerva/
#test if we can login and get configuration using new version
#test if we can login and get configuration data
- test 200 = $(curl --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
- test 200 = $(curl --write-out %{http_code} --silent --output configuration.json --cookie cookie.txt http://localhost:8080/minerva/api/configuration/)
- test 1 = $(cat configuration.json| grep $version | wc -l)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment