Skip to content

Commit

Permalink
Travis: fix basic tests not to recompile OCaml
Browse files Browse the repository at this point in the history
(compiling 4.06 apparently takes a long time, and Travis kills the process)
  • Loading branch information
AltGr committed Feb 19, 2018
1 parent 220c674 commit 4ad2814
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis-ci.sh
Expand Up @@ -117,10 +117,13 @@ git config --global user.name "Travis CI"
else
if [ "$COLD" = "1" ]; then
export PATH=`pwd`/bootstrap/ocaml/bin:$PATH
else
export PATH="$OPAMBSROOT/$OCAML_VERSION/bin":$PATH
fi
# Test basic actions
opam init
eval $(opam config env)
opam init --bare
opam switch create default ocaml-system
# eval $(opam config env)
opam install lwt
opam list
opam config report
Expand Down

0 comments on commit 4ad2814

Please sign in to comment.