Skip to content

Commit

Permalink
Merge pull request #9 from djs55/fix-travis
Browse files Browse the repository at this point in the history
Update travis to use opam 1.2
  • Loading branch information
djs55 committed Nov 21, 2014
2 parents cc4ceeb + 2655e38 commit 57c8267
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis-ci.sh
Expand Up @@ -7,6 +7,8 @@ case "$OCAML_VERSION,$OPAM_VERSION" in
4.00.1,1.1.0) ppa=avsm/ocaml40+opam11 ;;
4.01.0,1.0.0) ppa=avsm/ocaml41+opam10 ;;
4.01.0,1.1.0) ppa=avsm/ocaml41+opam11 ;;
4.01.0,1.2.0) ppa=avsm/ocaml41+opam12 ;;
4.02.0,1.2.0) ppa=avsm/ocaml42+opam12 ;;
*) echo Unknown $OCAML_VERSION,$OPAM_VERSION; exit 1 ;;
esac

Expand All @@ -23,7 +25,5 @@ opam --version
opam --git-version

opam init
opam install ${OPAM_DEPENDS}

eval `opam config env`
make
opam pin add xenstore .
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,4 +1,5 @@
language: c
script: bash -ex .travis-ci.sh
env:
- OCAML_VERSION=4.01.0 OPAM_VERSION=1.1.0
- OCAML_VERSION=4.01.0 OPAM_VERSION=1.2.0
- OCAML_VERSION=4.02.0 OPAM_VERSION=1.2.0
20 changes: 20 additions & 0 deletions opam
@@ -0,0 +1,20 @@
opam-version: "1"
maintainer: "dave.scott@eu.citrix.com"
build: [
[make "all"]
[make "install"]
]
remove: [["ocamlfind" "remove" "xenstore"]]
depends: [
"cstruct" {>= "0.6.0"}
"lwt"
"uri"
"sexplib"
"stringext"
"ounit"
"ocamlfind"
"io-page"
"xen-evtchn"
"shared-memory-ring"
"cmdliner"
]

0 comments on commit 57c8267

Please sign in to comment.