language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: true
env:
  global:
    - PACKAGE=xapi-idl
    - BASE_REMOTE=git://github.com/xapi-project/xs-opam
  matrix:
    - OCAML_VERSION=4.02

language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: true
env:
  global:
    - PACKAGE=xapi-idl
    - OCAML_VERSION=4.02
  matrix:
    - BASE_REMOTE=git://github.com/xapi-project/xs-opam
    - EXTRA_REMOTES=git://github.com/xapi-project/xs-opam
matrix:
  fast_finish: true
  allow_failure:
    - env: OCAML_VERSION=4.02 PACKAGE=xapi-idl EXTRA_REMOTES=git://github.com/xapi-project/xs-opam

Allow failable build with upstream opam repo
Travis: Allow failable build with upstream opam repo

Signed-off-by: Frederico Mazzone <e878d16deecffe8b35cef9a75715570b13193bd0@citrix.com>
