aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7b6755a9a7ddea665f627428246787bbff50df48 (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
39
language: generic

sudo: required

matrix:
  fast_finish: true
  include:
    - dist: trusty
      env: COQ_VERSION="v8.6"     COQ_PACKAGE="coq libcoq-ocaml libcoq-ocaml-dev"  COQPRIME="coqprime"     PPA="ppa:jgross-h/coq-8.6-daily"
    - dist: trusty
      env: COQ_VERSION="v8.5"     COQ_PACKAGE="coq libcoq-ocaml libcoq-ocaml-dev"  COQPRIME="coqprime"     PPA="ppa:jgross-h/coq-8.5-daily"
    - dist: trusty
      env: COQ_VERSION="8.6beta1" COQ_PACKAGE="coq-8.6beta1 libcoq-ocaml-8.6beta1 libcoq-ocaml-dev-8.6beta1" COQPRIME="coqprime"     PPA="ppa:jgross-h/many-coq-versions"
#    - dist: trusty
#      env: COQ_VERSION="8.5pl3"  COQ_PACKAGE="coq-8.5pl3 libcoq-ocaml-8.5pl3"     COQPRIME="coqprime"     PPA="ppa:jgross-h/many-coq-versions"
#    - dist: trusty
#      env: COQ_VERSION="8.5"     COQ_PACKAGE="coq-8.5"                            COQPRIME="coqprime"     PPA="ppa:jgross-h/many-coq-versions"
#    - dist: precise
#      env: COQ_VERSION="8.4pl6"  COQ_PACKAGE="coq-8.4pl6 libcoq-ocaml-8.4pl6"     COQPRIME="coqprime-8.4" PPA="ppa:jgross-h/many-coq-versions-ocaml-3-temp-while-over-quota-2"
#    - dist: trusty
#      env: COQ_VERSION="8.4"     COQ_PACKAGE="coq"                                COQPRIME="coqprime-8.4" PPA=""
  allow_failures:
    - env: COQ_VERSION="v8.5"     COQ_PACKAGE="coq libcoq-ocaml libcoq-ocaml-dev"  COQPRIME="coqprime"     PPA="ppa:jgross-h/coq-8.5-daily"
    - env: COQ_VERSION="v8.6"     COQ_PACKAGE="coq libcoq-ocaml libcoq-ocaml-dev"  COQPRIME="coqprime"     PPA="ppa:jgross-h/coq-8.6-daily"

before_install:
  - if [ ! -z "$PPA" ]; then sudo add-apt-repository "$PPA" -y; fi
  - sudo apt-get update -q
  - sudo apt-get install $COQ_PACKAGE -y


before_script:
  - uname -a
  - source ./etc/ci/travis_keep_alive.sh

script: COQPATH="$(pwd)/$COQPRIME" ./etc/coq-scripts/timing/make-pretty-timed.sh -j2 && make COQPATH="$(pwd)/$COQPRIME" TIMED=1 -j2

after_success:
  - kill $PID_KEEP_ALIVE