Skip to content

Commit

Permalink
Temp fix for OCaml 4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Aug 25, 2020
1 parent a71676a commit 3368e6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis-ocaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ echo OPAM_SWITCH=$OPAM_SWITCH >> .travis-ocaml.env
echo export ASSUME_ALWAYS_YES=YES >> .travis-ocaml.env

if [ -x "$(command -v ocaml)" ]; then
ocaml -version
# "|| true" is a temp fix for OCaml 4.12: https://github.com/ocaml/ocaml/pull/9798
ocaml -version || true
else
echo "OCaml is not yet installed"
fi
Expand Down

0 comments on commit 3368e6a

Please sign in to comment.