Skip to content

Commit

Permalink
try to speed up mount since setup is really slow in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Jun 18, 2019
1 parent c7d6e85 commit 691e34a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ rule() {
testci) ruby scripts/update_suite.rb -s -d;;
travis) echo "run ./scripts/travis-ci.sh to setup ocaml"
echo "mount cwd as bind: beware that cwd of host can be modified!"
docker run -it -u travis -v $(pwd):$(pwd) -w $(pwd) travisci/ci-garnet:packer-1515445631-7dfb2e1 bash
docker run -it -u travis -v $(pwd):$(pwd):delegated -w $(pwd) travisci/ci-garnet:packer-1515445631-7dfb2e1 bash
# echo "mount cwd as volume: changes won't affect host's cwd."
# docker run -it -u travis -v `pwd`:/analyzer:ro -w /home/travis travisci/ci-garnet:packer-1515445631-7dfb2e1 bash -c 'cp -r /analyzer .; cd analyzer; bash'
# docker run -it -u travis -v `pwd`:/analyzer:ro:delegated -w /home/travis travisci/ci-garnet:packer-1515445631-7dfb2e1 bash -c 'cp -r /analyzer .; cd analyzer; bash'
;;
unit) ocamlbuild -use-ocamlfind unittest/mainTest.native && ./mainTest.native;;
server) rsync -avz --delete --exclude='/.git' --exclude='server.sh' --exclude-from="$(git ls-files --exclude-standard -oi --directory > /tmp/excludes; echo /tmp/excludes)" . serverseidl6.informatik.tu-muenchen.de:~/analyzer2
Expand Down

0 comments on commit 691e34a

Please sign in to comment.