language: c
sudo: required
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
matrix:
  include:
  - env: OCAML_VERSION=4.08
    os: osx
  - env: OCAML_VERSION=4.02
    os: linux
  - env: OCAML_VERSION=4.03
    os: linux
  - env: OCAML_VERSION=4.04
    os: linux
  - env: OCAML_VERSION=4.05
    os: linux
  - env: OCAML_VERSION=4.06
    os: linux
  - env: OCAML_VERSION=4.07
    os: linux
  - env: OCAML_VERSION=4.08
    os: linux
  - env: OCAML_VERSION=4.09
    os: linux
  - env: OCAML_VERSION=4.10
    os: linux
