Codebase list ocaml-alsa / d6f5784e-7d9c-474f-9ea8-9ea5a8c044c6/upstream .travis-ci.sh
d6f5784e-7d9c-474f-9ea8-9ea5a8c044c6/upstream

Tree @d6f5784e-7d9c-474f-9ea8-9ea5a8c044c6/upstream (Download .tar.gz)

.travis-ci.sh @d6f5784e-7d9c-474f-9ea8-9ea5a8c044c6/upstreamraw · history · blame

# Hacking the build into Travis-CI "C" environment
# See http://anil.recoil.org/2013/09/30/travis-and-ocaml.html

export OPAMYES=1
opam init
if [ -n "${OPAM_SWITCH}" ]; then
    opam switch ${OPAM_SWITCH}
fi
eval `opam config env`
opam install -y depext dune
opam pin -y add --no-action .
opam depext -y -i alsa 

# compile
dune build