language: c
sudo: required
script: bash -ex .travis-ci.sh
env:
  - OCAML_VERSION=4.02.3 OPAM_VERSION=1.2.0 OPAMPKG=hardcaml-yosys DEPPKGS=""

language: c
sudo: required
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
env:
  global:
    - OPAMPKG=hardcaml-yosys
    - DEPPKGS=""
  matrix:
    - OCAML_VERSION=4.02
    - OCAML_VERSION=4.03
    - OCAML_VERSION=4.04
    - OCAML_VERSION=4.05
    - OCAML_VERSION=4.06
    - OCAML_VERSION=4.07
    - OCAML_VERSION=4.08
os:
  - linux

Update Travis to use ocaml-ci-scripts
Update Travis to use ocaml-ci-scripts

* Use https://github.com/ocaml/ocaml-ci-scripts/
* Drop OPAM 1.x version as deprecated
* Added recent OCaml compiler versions