language: c
sudo: required
install: test -e .travis-opam.sh || wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
env:
  - OCAML_VERSION=4.04 PACKAGE="secp256k1" TESTS=true
  - OCAML_VERSION=4.05 PACKAGE="secp256k1" TESTS=true
  - OCAML_VERSION=4.06 PACKAGE="secp256k1" TESTS=true
  - OCAML_VERSION=4.07 PACKAGE="secp256k1" TESTS=true
  - OCAML_VERSION=4.08 PACKAGE="secp256k1" TESTS=true
  - OCAML_VERSION=4.09 PACKAGE="secp256k1" TESTS=true
  - OCAML_VERSION=4.10 PACKAGE="secp256k1" TESTS=true
os:
  - linux
dist: bionic
