update travis

This commit is contained in:
Simon Cruanes 2017-12-28 16:08:49 +01:00 committed by Guillaume Bury
parent ec7fa9e01a
commit a978ec97a3

View file

@ -1,27 +1,17 @@
language: c language: c
env: env:
# Check that the package installs correctly with and without its test dependencies using opam - RUN_TEST=true OCAML_VERSION=4.03.0
- TO_TEST=install OPAMBUILDTEST=false OCAML_VERSION=4.03.0 - RUN_TEST=true OCAML_VERSION=4.03.0+flambda
- TO_TEST=install OPAMBUILDTEST=true OCAML_VERSION=4.03.0 - RUN_TEST=true OCAML_VERSION=4.04.0
# Check build and unit tests - RUN_TEST=true OCAML_VERSION=4.04.0+flambda
# NOTE: testing needs OPAMBUILDTEST=true so that test deps are installed - RUN_TEST=true OCAML_VERSION=4.06.0
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.03.0 addons:
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.03.0+flambda apt:
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.04.2 sources:
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.04.2+flambda - avsm
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.05.0 packages:
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.05.0+flambda - opam
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.06.0 - time
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.06.0+flambda
#matrix:
# allow_failures:
# # opam-installer fails on these versions (will probably be fixed before the official opam2 release
# - env: TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.06.0
# - env: TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.06.0+flambda
# Caching may take a lot of space with so many ocaml versions
#cache:
# directories:
# - $HOME/.opam
before_install: before_install:
# Download and use opam2 # Download and use opam2
- wget -O ${HOME}/opam https://github.com/ocaml/opam/releases/download/2.0.0-beta6/opam-2.0.0-beta6-x86_64-linux - wget -O ${HOME}/opam https://github.com/ocaml/opam/releases/download/2.0.0-beta6/opam-2.0.0-beta6-x86_64-linux