chore: try to make travis faster

This commit is contained in:
Simon Cruanes 2018-06-01 20:15:25 -05:00
parent 0eeebdc555
commit 76a52f083c
2 changed files with 13 additions and 30 deletions

View file

@ -1,31 +1,15 @@
language: c language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
script: bash -ex .travis-docker.sh
services:
- docker
env: env:
- OCAML_VERSION=4.02.3 global:
- OCAML_VERSION=4.05.0 - PINS="sequence:."
- OCAML_VERSION=4.05.0+flambda - DISTRO="ubuntu-16.04"
- OCAML_VERSION=4.06.0 matrix:
addons: - PACKAGE="sequence" OCAML_VERSION="4.02.3" DEPOPTS="base-bigarray"
apt: - PACKAGE="sequence" OCAML_VERSION="4.03.0" DEPOPTS="base-bigarray"
sources: - PACKAGE="sequence" OCAML_VERSION="4.04.2" DEPOPTS="base-bigarray"
- avsm - PACKAGE="sequence" OCAML_VERSION="4.05.0" DEPOPTS="base-bigarray"
packages: - PACKAGE="sequence" OCAML_VERSION="4.06.0" DEPOPTS="base-bigarray"
- opam
# Caching may take a lot of space with so many ocaml versions
cache:
directories:
- $HOME/.opam
before_install:
# Some opam boilerplate
- export OPAMYES=1
- export OPAMVERBOSE=1
- opam init
- opam switch ${OCAML_VERSION}
- eval `opam config env`
install:
# Install dependencies
- opam pin add --no-action sequence .
- opam install jbuilder base-bytes result
script:
- make build
- opam install qcheck qtest
- make test

View file

@ -25,7 +25,6 @@ depends: [
"qcheck" {test} "qcheck" {test}
"qtest" {test} "qtest" {test}
"odoc" {doc} "odoc" {doc}
"ocaml-version" { >= "4.02" }
] ]
tags: [ "sequence" "iterator" "iter" "fold" ] tags: [ "sequence" "iterator" "iter" "fold" ]
homepage: "https://github.com/c-cube/sequence/" homepage: "https://github.com/c-cube/sequence/"