-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
50 lines (44 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: generic
dist: xenial
services:
- docker
cache:
directories:
- $HOME/.opam
env:
global:
- OPAMJOBS="2"
- OPAMYES="true"
- OPAMVERBOSE="true"
matrix:
- OCAML_VERSION=4.08.0
- OCAML_VERSION=4.08.1
- OCAML_VERSION=4.09.0
- OCAML_VERSION=4.09.1
- OCAML_VERSION=4.10.0
- OCAML_VERSION=4.10.1
- OCAML_VERSION=4.10.2
- OCAML_VERSION=4.11.0
- OCAML_VERSION=4.11.1
- OCAML_VERSION=4.12.0
before_install:
# Obtain and install opam locally.
- sudo add-apt-repository -y ppa:avsm/ppa
- sudo apt-get -y update
- sudo apt-get -y install opam ocaml-nox
# Initialize the switch.
- opam init -a --disable-sandboxing --compiler="${OCAML_VERSION}"
- opam update
- opam install depext
- opam pin add -n archetype .
- opam depext archetype
- opam install --deps-only archetype
script:
- opam config exec make all
- opam config exec make check
notifications:
email: