Skip to content

Commit 76a52f0

Browse files
committed
chore: try to make travis faster
1 parent 0eeebdc commit 76a52f0

File tree

2 files changed

+13
-30
lines changed

2 files changed

+13
-30
lines changed

.travis.yml

+13-29
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
language: c
2+
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
3+
script: bash -ex .travis-docker.sh
4+
services:
5+
- docker
26
env:
3-
- OCAML_VERSION=4.02.3
4-
- OCAML_VERSION=4.05.0
5-
- OCAML_VERSION=4.05.0+flambda
6-
- OCAML_VERSION=4.06.0
7-
addons:
8-
apt:
9-
sources:
10-
- avsm
11-
packages:
12-
- opam
13-
# Caching may take a lot of space with so many ocaml versions
14-
cache:
15-
directories:
16-
- $HOME/.opam
17-
before_install:
18-
# Some opam boilerplate
19-
- export OPAMYES=1
20-
- export OPAMVERBOSE=1
21-
- opam init
22-
- opam switch ${OCAML_VERSION}
23-
- eval `opam config env`
24-
install:
25-
# Install dependencies
26-
- opam pin add --no-action sequence .
27-
- opam install jbuilder base-bytes result
28-
script:
29-
- make build
30-
- opam install qcheck qtest
31-
- make test
7+
global:
8+
- PINS="sequence:."
9+
- DISTRO="ubuntu-16.04"
10+
matrix:
11+
- PACKAGE="sequence" OCAML_VERSION="4.02.3" DEPOPTS="base-bigarray"
12+
- PACKAGE="sequence" OCAML_VERSION="4.03.0" DEPOPTS="base-bigarray"
13+
- PACKAGE="sequence" OCAML_VERSION="4.04.2" DEPOPTS="base-bigarray"
14+
- PACKAGE="sequence" OCAML_VERSION="4.05.0" DEPOPTS="base-bigarray"
15+
- PACKAGE="sequence" OCAML_VERSION="4.06.0" DEPOPTS="base-bigarray"

sequence.opam

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ depends: [
2525
"qcheck" {test}
2626
"qtest" {test}
2727
"odoc" {doc}
28-
"ocaml-version" { >= "4.02" }
2928
]
3029
tags: [ "sequence" "iterator" "iter" "fold" ]
3130
homepage: "https://github.com/c-cube/sequence/"

0 commit comments

Comments
 (0)