aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 45b1a138d49aec795deaecf676621fb82fb02507 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: c

sudo: required

dist: trusty

compiler:
  - gcc

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-7
      - libssl-dev

matrix:
  fast_finish: true
  include:
    - env: COQ_VERSION="master" TARGETS="no-curves-proofs-non-specific"                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-master-daily"
    - env: COQ_VERSION="master" TARGETS="curves-proofs"                                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-master-daily"
    - env: COQ_VERSION="master" TARGETS="selected-specific selected-specific-display"           COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-master-daily"
    - env: COQ_VERSION="v8.7"   TARGETS="no-curves-proofs-non-specific"                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-8.7-daily"
    - env: COQ_VERSION="v8.7"   TARGETS="curves-proofs"                                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-8.7-daily"
    - env: COQ_VERSION="v8.7"   TARGETS="selected-specific selected-specific-display"           COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-8.7-daily"
    - env: COQ_VERSION="8.7.0"  TARGETS="no-curves-proofs-non-specific fake-autogenerated-deps" COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions"
    - env: COQ_VERSION="8.7.0"  TARGETS="curves-proofs"                                         COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions"
    - env: COQ_VERSION="8.7.0"  TARGETS="selected-specific selected-specific-display"           COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions"
    - env: TARGETS="selected-test selected-bench" COQ_VERSION="8.7.0"                           COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions"
    - env: TARGETS="printlite lite" COQ_VERSION="8.7.0"                                         COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions"
  allow_failures:
    - env: COQ_VERSION="master" TARGETS="no-curves-proofs-non-specific"                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-master-daily"
    - env: COQ_VERSION="master" TARGETS="curves-proofs"                                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-master-daily"
    - env: COQ_VERSION="master" TARGETS="selected-specific selected-specific-display"           COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-master-daily"
    - env: COQ_VERSION="v8.7"   TARGETS="no-curves-proofs-non-specific"                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-8.7-daily"
    - env: COQ_VERSION="v8.7"   TARGETS="curves-proofs"                                         COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-8.7-daily"
    - env: COQ_VERSION="v8.7"   TARGETS="selected-specific selected-specific-display"           COQ_PACKAGE="coq"       PPA="ppa:jgross-h/coq-8.7-daily"
    - env: TARGETS="selected-test selected-bench" COQ_VERSION="8.7.0"                           COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions"

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
  - coqc --version
  - echo | coqtop
  - source ./etc/ci/travis_keep_alive.sh
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7

script: ./etc/coq-scripts/timing/make-pretty-timed.sh -j2 $TARGETS && make $TARGETS TIMED=1 -j2

after_success:
  - kill $PID_KEEP_ALIVE