Skip to content

Commit

Permalink
Travis: build the inverted stubs example.
Browse files Browse the repository at this point in the history
  • Loading branch information
yallop committed Jun 6, 2016
1 parent 71d6dad commit c5d4f0f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,12 @@ opam install mirage-xen || echo "Mirage not installable, so not testing Xen buil

opam pin add -n ctypes $(pwd)
opam install --build-test --yes ctypes

# Check that the inverted stubs package builds with this release
opam pin add -n ctypes-inverted-stubs-example https://github.com/yallop/ocaml-ctypes-inverted-stubs-example.git
if test ! $COVERAGE && opam install --show-actions ctypes-inverted-stubs-example; then
opam install --build-test --yes ctypes-inverted-stubs-example
else
echo "Pinning the inverted stubs example failed, probably due to OCaml version incompatibility"
fi

0 comments on commit c5d4f0f

Please sign in to comment.