-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
case "$OCAML_VERSION,$OPAM_VERSION" in | ||
4.01.0,1.1.0) ppa=avsm/ocaml41+opam11 ;; | ||
*) echo Unknown $OCAML_VERSION,$OPAM_VERSION; exit 1 ;; | ||
esac | ||
|
||
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 time libssl-dev | ||
|
||
export OPAMYES=1 | ||
export OPAMVERBOSE=1 | ||
echo OCaml version | ||
ocaml -version | ||
echo OPAM versions | ||
opam --version | ||
opam --git-version | ||
|
||
# opam init git://github.com/ocaml/opam-repository >/dev/null 2>&1 | ||
opam init | ||
sh ./deps | ||
|
||
eval `opam config env` | ||
make configure | ||
make all | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
language: c | ||
script: bash -ex .travis-ci.sh | ||
env: | ||
- OCAML_VERSION=4.01.0 OPAM_VERSION=1.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
opam install -y ocamlfind obuild |