-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (43 loc) · 905 Bytes
/
.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
---
addons:
apt:
packages:
- aspcud
- opam
- libffi-dev
sources:
- avsm
before_cache:
- rm -rf ~/.opam/log/
cache:
directories:
- $HOME/.opam
env:
- OCAML_VERSION=4.05.0 COQ_VERSION=8.8.0 OPAMYES=yes OCB_VERSION=0.12.0
before_install:
- if [[ $TRAVIS_OS_NAME == 'osx' ]];
then
brew update;
brew install libffi;
(brew outdated "pkg-config" || brew upgrade "pkg-config");
brew install opam;
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH;
fi
install:
- opam init -n --comp $OCAML_VERSION; opam update
- opam install ocamlbuild.$OCB_VERSION
- travis_wait opam install coq.$COQ_VERSION
- eval $(opam config env)
- ./configure.sh
- cd libhsem
- ./configure.sh
language: c
script:
- cd "$TRAVIS_BUILD_DIR"
- make
- cd libhsem
- make
- make test
os:
- linux
- osx