forked from coq-community/paramcoq
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
49 lines (45 loc) · 1 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
dist: trusty
sudo: required
language: c
cache:
apt: true
directories:
- $HOME/.opam
addons:
apt:
sources:
- avsm
packages:
- opam
- aspcud
env:
global:
- NJOBS=3
- COMPILER="system"
# system <=> 4.02.3
- yellow="\\e[33;1m"
- dflt="\\e[0m"
matrix:
- COQ_VERSION="8.7.2"
- COQ_VERSION="8.8.1"
- COQ_VERSION="dev"
matrix:
allow_failures:
- env: COQ_VERSION="dev"
fast_finish: true
install:
- opam init -j ${NJOBS} --compiler=${COMPILER} -n -y
- opam config env && eval $(opam config env)
- opam config var root
- opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev || true
- opam update
- opam repo list
# The 'travis_wait' command below extends the 10 mn, no-output timeout to 20 mn
- |
# Building Coq...
travis_wait opam install -j ${NJOBS} -y ocamlfind camlp5 coq.${COQ_VERSION}
- opam list
script:
- echo -e "${yellow}Building paramcoq...${dflt}" && echo -en 'travis_fold:start:paramcoq.build\\r'
- make
- echo -en 'travis_fold:end:paramcoq.build\\r'