File: .travis-ci.sh

package info (click to toggle)
ocaml-alsa 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 248 kB
  • sloc: ansic: 952; ml: 447; makefile: 35
file content (15 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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