# OPAM packages needed to build tests.
OPAM_PACKAGES="camlzip dolog core_kernel cryptokit uri \
               cmdliner sha mstruct re ocamlgraph \
               alcotest lwt \
               conduit uri mirage-fs-unix io-page ipaddr"

ppa=avsm/ocaml41+opam11
echo "yes" | sudo add-apt-repository ppa:$ppa
sudo apt-get update -qq
sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam
export OPAMYES=1

opam init git://github.com/ocaml/opam-repository >/dev/null 2>&1
opam install ${OPAM_PACKAGES}
opam list

eval `opam config env`
ls $(ocamlfind query mirage-types)
./configure --enable-tests --enable-mirage
make
make test

# OPAM packages needed to build tests.
OPAM_PACKAGES="camlzip dolog core_kernel cryptokit uri \
               cmdliner sha mstruct re ocamlgraph \
               alcotest lwt conduit uri mirage-fs-unix io-page"

ppa=avsm/ocaml41+opam11
echo "yes" | sudo add-apt-repository ppa:$ppa
sudo apt-get update -qq
sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam
export OPAMYES=1

opam init git://github.com/ocaml/opam-repository >/dev/null 2>&1
opam install ${OPAM_PACKAGES}
opam list

eval `opam config env`
ls $(ocamlfind query mirage-types)
./configure --enable-tests --enable-mirage
make
make test

--- 
+++ 
@@ -1,7 +1,8 @@
 # OPAM packages needed to build tests.
 OPAM_PACKAGES="camlzip dolog core_kernel cryptokit uri \
                cmdliner sha mstruct re ocamlgraph \
-               alcotest lwt conduit uri mirage-fs-unix io-page"
+               alcotest lwt \
+               conduit uri mirage-fs-unix io-page ipaddr"
 
 ppa=avsm/ocaml41+opam11
 echo "yes" | sudo add-apt-repository ppa:$ppa
Add ipadrr to the list of deps in the Travis script

This seems to be needed to install mirage-types.lwt
