Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: true
sudo: required
install:
- wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
- wget https://raw.githubusercontent.com/simonjbeaumont/ocaml-travis-coveralls/master/travis-coveralls.sh
script:
- bash -ex .travis-opam.sh
- if [ ! -z "${XS_COV}" ]; then bash -ex travis-coveralls.sh || true; fi
env:
- OCAML_VERSION=4.02 PACKAGE=xen-api-client
global:
- OCAML_VERSION=4.02
- PACKAGE=xen-api-client
# WARNING: Don't set TESTS=true here (which is the default) as that env var
# is already used by the Makefile for OASIS configuration.
matrix:
- BASE_REMOTE=git://github.com/xapi-project/xs-opam XS_COV=1
- EXTRA_REMOTES=git://github.com/xapi-project/xs-opam
matrix:
fast_finish: true
allow_failures:
- env: EXTRA_REMOTES=git://github.com/xapi-project/xs-opam
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Ocaml client for the Xen API.
[![Build Status](https://travis-ci.org/gaborigloi/xen-api-client.svg?branch=master)](https://travis-ci.org/gaborigloi/xen-api-client)
[![Coverage Status](https://coveralls.io/repos/github/xapi-project/xen-api-client/badge.svg?branch=master)](https://coveralls.io/github/xapi-project/xen-api-client?branch=master)

Depends on: Xmlm, Lwt, SSL

Expand Down
3 changes: 3 additions & 0 deletions opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ tags: [
build: [
[make]
]
build-test: [
[make "test"]
]
install: [
[make "install"]
]
Expand Down