Codebase list ocaml-alsa / run/50cf5c7f-abf2-47ab-9b62-e5a1cf258751/main .travis-ci.sh
run/50cf5c7f-abf2-47ab-9b62-e5a1cf258751/main

Tree @run/50cf5c7f-abf2-47ab-9b62-e5a1cf258751/main (Download .tar.gz)

.travis-ci.sh @run/50cf5c7f-abf2-47ab-9b62-e5a1cf258751/mainraw · 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