-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
50 lines (40 loc) · 1.04 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
sudo: required
dist: trusty
addons:
apt:
sources:
- avsm
packages:
- opam
cache:
apt: true
directories:
- $HOME/.opam
env:
# - COQ_VERSION="8.6"
- COQ_VERSION="8.6.dev"
- COQ_VERSION="dev"
#matrix:
# fast_finish: true
# allow_failures:
# - env: COQ_VERSION="8.6.dev"
# - env: COQ_VERSION="dev"
before_install:
- export NJOBS=2
- if ! [ -e .opam ]; then opam init -j ${NJOBS} --compiler=system -n -y; fi
- opam switch coq-${COQ_VERSION} || opam switch install coq-${COQ_VERSION} --alias-of=system
- opam switch coq-${COQ_VERSION}
- eval $(opam config env)
# - opam config var root
# - opam install -j ${NJOBS} -y camlp5 ocamlfind
- opam list
- opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev || true
- opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev || true
- source ./etc/ci/travis_keep_alive.sh
- opam install -j ${NJOBS} -y coq.${COQ_VERSION} coq-corn
before_script:
- uname -a
script: make TIMED=1 -j2
after_success:
- kill $PID_KEEP_ALIVE