-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (27 loc) · 1.17 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
language: generic
sudo: false
env:
global:
- INSTALL_DIR: $HOME/.local
- ISABELLE_VERSION: Isabelle2016
- ISABELLE_TARBALL: ${ISABELLE_VERSION}_app.tar.gz
- ISABELLE_URL: http://isabelle.in.tum.de/dist/${ISABELLE_TARBALL}
- ISABELLE_DIR: ${INSTALL_DIR}/${ISABELLE_VERSION}
- ISABELLE: ${ISABELLE_DIR}/bin/isabelle
- ISABELLE_USER_SETTINGS: ${HOME}/.isabelle/${ISABELLE_VERSION}/etc/settings
- AFP_BRANCH: afp-2016
- AFP_REPO: https://bitbucket.org/isa-afp/${AFP_BRANCH}
- AFP_DIR: ${INSTALL_DIR}/${AFP_BRANCH}
cache:
directories:
- ${INSTALL_DIR}
- $HOME/.isabelle
before_install:
- mkdir -p ${INSTALL_DIR}
- test -e $ISABELLE || { wget ${ISABELLE_URL} && tar -C ${INSTALL_DIR}/ -xzf ${ISABELLE_TARBALL}; }
- test -e `$ISABELLE getenv -b ISABELLE_HOME`/heaps/`$ISABELLE getenv -b ML_IDENTIFIER`/HOL || $ISABELLE build -b -s -v HOL
- test -e ${AFP_DIR} || (cd ${INSTALL_DIR}; hg clone ${AFP_REPO})
- test -e ${ISABELLE_USER_SETTINGS} || { mkdir -p $(dirname ${ISABELLE_USER_SETTINGS}) && echo 'init_component "${AFP_DIR}"' > ${ISABELLE_USER_SETTINGS}; }
- (cd ${AFP_DIR}; hg pull -u)
install: true
script: $ISABELLE build -d '$AFP' -d . isabelle-ci-test