Skip to content

Commit 3b1566e

Browse files
committed
Merge pull request #19 from johnelse/use-travisci-skeleton
Tidy opam packaging and use travisci skeleton
2 parents fd14535 + 081ecbc commit 3b1566e

File tree

3 files changed

+10
-31
lines changed

3 files changed

+10
-31
lines changed

.travis-ci.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: c
2-
script: bash -ex .travis-ci.sh
2+
install: wget https://raw.githubusercontent.com/xapi-project/ocaml-travisci-skeleton/master/.travis-opam.sh
3+
script: PACKAGE=xapi-rrd-transport bash -ex .travis-opam.sh
34
env:
4-
- OCAML_VERSION=4.00.1 OPAM_VERSION=1.2.0
5-
- OCAML_VERSION=4.01.0 OPAM_VERSION=1.2.0
6-
- OCAML_VERSION=4.02.1 OPAM_VERSION=1.2.0
5+
- OCAML_VERSION=4.00.1
6+
- OCAML_VERSION=4.01.0
7+
- OCAML_VERSION=4.02.1

opam

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ opam-version: "1"
22
maintainer: "john.else@citrix.com"
33
build: [
44
[make]
5+
]
6+
build-test: [
7+
[make "test"]
8+
]
9+
install: [
510
[make "PREFIX=%{prefix}%" "install"]
611
]
712
remove: [make "PREFIX=%{prefix}%" "uninstall"]

0 commit comments

Comments
 (0)