Codebase list ocaml-alsa / ac058413-4486-4d2e-a61b-a648042de4cd/main .travis-ci.sh
ac058413-4486-4d2e-a61b-a648042de4cd/main

Tree @ac058413-4486-4d2e-a61b-a648042de4cd/main (Download .tar.gz)

.travis-ci.sh @ac058413-4486-4d2e-a61b-a648042de4cd/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