From dfe4b5d3da63e3bfd633661add20b3ac728f351f Mon Sep 17 00:00:00 2001 From: Tomas Kulhanek Date: Thu, 29 Aug 2019 16:29:53 +0200 Subject: [PATCH] updated script --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c640595..6ce1fdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ services: docker # command to install dependencies -install: docker run -v $TRAVIS_BUILD_DIR:/vagrant sl:7 "/vagrant/scripts/bootstrap.sh;/vagrant/scripts/bootstrapjupyter.sh;/vagrant/scripts/bootstrapopenmodelica.sh;/vagrant/scripts/bootstrapservices.sh;/vagrant/scripts/bootstrapbodylight.sh" +install: + - sudo docker run --detach --privileged --volume="${PWD}":/vagrant sl:7 "/vagrant/scripts/bootstrap.sh;/vagrant/scripts/bootstrapjupyter.sh;/vagrant/scripts/bootstrapopenmodelica.sh;/vagrant/scripts/bootstrapservices.sh;/vagrant/scripts/bootstrapbodylight.sh" script: - echo Service tests - - docker run -v $TRAVIS_BUILD_DIR:/vagrant sl:7 "/vagrant/scripts/testinstance.sh" + - sudo docker run --detach --privileged --volume="${PWD}":/vagrant sl:7 "/vagrant/scripts/testinstance.sh"