aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 3e71a7157085c31443ba72b0fa0bc2904f0ff820 (plain)
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
dist: trusty
sudo: required
language: ocaml
cache:
  apt: true
  directories:
  - $HOME/.opam
addons:
  apt:
    sources:
    - avsm
    packages:
    - opam
    - aspcud
    - libgtk2.0-dev
    - libgtksourceview2.0-dev
    - texlive-latex-base
    - texlive-latex-recommended
    - texlive-latex-extra
    - texlive-math-extra
    - texlive-fonts-recommended
    - texlive-fonts-extra
    - latex-xcolor
    - ghostscript
    - transfig
    - imagemagick
install:
- ": ${NJOBS:=1}"
- "[ -e .opam ] || opam init -j ${NJOBS} --compiler=4.02.3 -n -y"
- eval $(opam config env)
- opam config var root
- opam install -j ${NJOBS} -y camlp5 ocamlfind lablgtk-extras hevea
- opam list
script:
- ./configure -local -usecamlp5 -native-compiler yes -coqide opt -with-doc yes
- make -j ${NJOBS}
- travis_wait make -j ${NJOBS} validate
- travis_wait make -j ${NJOBS} test-suite