From cb001d5aa11fb8aa57cbf2b9225c493931214aff Mon Sep 17 00:00:00 2001 From: Tomas Kulhanek Date: Thu, 29 Aug 2019 16:46:52 +0200 Subject: [PATCH] update docker commit, mkdir /home/vagrant --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 732245a..abf7b2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ services: docker # command to install dependencies install: - - sudo docker run --detach --privileged --volume="${PWD}":/vagrant sl:7 /bin/bash -c "/vagrant/scripts/bootstrap.sh;/vagrant/scripts/bootstrapjupyter.sh;/vagrant/scripts/bootstrapopenmodelica.sh;/vagrant/scripts/bootstrapservices.sh;/vagrant/scripts/bootstrapbodylight.sh" + - sudo docker run --detach --privileged --volume="${PWD}":/vagrant sl:7 /bin/bash -c "/vagrant/scripts/bootstrap.sh;mkdir -p /home/vagrant;cd /home/vagrant;/vagrant/scripts/bootstrapjupyter.sh;/vagrant/scripts/bootstrapopenmodelica.sh;/vagrant/scripts/bootstrapservices.sh;/vagrant/scripts/bootstrapbodylight.sh" + - CID=`docker ps -l -q` + - sudo docker commit ${CID} sl7vb script: - echo Service tests - - sudo docker run --detach --privileged --volume="${PWD}":/vagrant sl:7 /bin/bash -c "/vagrant/scripts/testinstance.sh" + - sudo docker run --detach --privileged --volume="${PWD}":/vagrant sl7vb /bin/bash -c "/vagrant/scripts/testinstance.sh"