Skip to content

Commit

Permalink
update docker commit, mkdir /home/vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKulhanek committed Aug 29, 2019
1 parent 5afcad2 commit cb001d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit cb001d5

Please sign in to comment.