forked from SRI-CSL/sally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (43 loc) · 1.01 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
51
52
language: cpp
sudo: false
compiler:
# - clang (Disabling until boost and clang play well)
- gcc
env:
matrix:
- CMAKE_BUILD_TYPE=Debug
ENABLE_COVERAGE=OFF
- CMAKE_BUILD_TYPE=Release
ENABLE_COVERAGE=OFF
- CMAKE_BUILD_TYPE=Release
ENABLE_COVERAGE=ON
addons:
apt:
sources:
- boost-latest
packages:
- libgmp-dev
- libboost-program-options1.55-dev
- libboost-iostreams1.55-dev
- libboost-test1.55-dev
- libboost-thread1.55-dev
- libboost-system1.55-dev
- default-jre
- gperf
cache:
directories:
- $HOME/yices2
install:
- bash contrib/install_yices2.sh
- if [[ $ENABLE_COVERAGE == ON ]]; then
pip install --user cpp-coveralls;
fi
script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DENABLE_COVERAGE=${ENABLE_COVERAGE} -DYICES2_HOME=$HOME/yices2 ..
- make
- make check
after_script:
- if [[ $ENABLE_COVERAGE == ON ]]; then
coveralls -r .. -b . --gcov-options '\-lp';
fi