OPAM_DEPENDS="ounit"

ppa=avsm/ocaml42+opam120

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
opam install ${OPAM_DEPENDS}
eval `opam config env`
make build
make test

OPAM_DEPENDS="ounit"

ppa=avsm/ocaml42+opam120

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 OPMAYES=1
opam init
opam install ${OPAM_DEPENDS}
eval `opam config env`
make build
make test

--- 
+++ 
@@ -5,7 +5,7 @@
 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
+export OPMAYES=1
 opam init
 opam install ${OPAM_DEPENDS}
 eval `opam config env`
Fix env var typo in TravisCI script
