Skip to content

Commit

Permalink
opam init with --disable-sandboxing for travis/docker because opam's …
Browse files Browse the repository at this point in the history
…bwrap can't create namespace in docker

see ocaml/opam#3498 and ocaml/opam#3424
  • Loading branch information
vogler committed Jun 18, 2019
1 parent 7150012 commit 336e979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ocb() {

opam_setup() {
set -x
opam init -y -a --bare
opam init -y -a --bare $SANDBOXING # sandboxing is disabled in travis and docker
opam switch -y create ./ --deps-only 4.07.1
# opam install camlp4 mongo # camlp4 needed for mongo
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else
fi

# install dependencies
./make.sh setup
SANDBOXING=--disable-sandboxing ./make.sh setup
eval `opam config env`
# compile
./make.sh nat

0 comments on commit 336e979

Please sign in to comment.