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:
  - OCAML_VERSION=4.01 TESTS=true PRE_INSTALL_HOOK="opam pin add irmin 'https://github.com/mirage/irmin.git'; opam pin add sexplib 'https://github.com/talex5/sexplib.git#js_of_ocaml'"

language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: false
addons:
  apt:
    sources:
    - avsm
    packages:
    - ocaml
    - ocaml-base
    - ocaml-native-compilers
    - ocaml-compiler-libs
    - ocaml-interp
    - ocaml-base-nox
    - ocaml-nox
    - camlp4
    - camlp4-extra
    - libgmp-dev
    - libssl-dev
    - time
    - libcurl3
    - curl
env:
  - FORK_USER=talex5 FORK_BRANCH=containers TESTS=true PRE_INSTALL_HOOK="opam pin add irmin 'https://github.com/mirage/irmin.git'; opam pin add sexplib 'https://github.com/talex5/sexplib.git#js_of_ocaml'"

Use containers for Travis build
Use containers for Travis build
