Codebase list ocaml-alsa / c52f72b0-a64f-4f56-95a4-2404f4a4a531/upstream .travis-ci.sh
c52f72b0-a64f-4f56-95a4-2404f4a4a531/upstream

Tree @c52f72b0-a64f-4f56-95a4-2404f4a4a531/upstream (Download .tar.gz)

.travis-ci.sh @c52f72b0-a64f-4f56-95a4-2404f4a4a531/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