-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
58 lines (49 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: cpp
notifications:
slack: sriformalmethods:wSnZggI8D3mxI5uqDsElZbV2
dist: xenial
sudo: true
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:
update: true
packages:
- bison
- flex
- libgmp-dev
- libboost-program-options-dev
- libboost-iostreams-dev
- libboost-test-dev
- libboost-thread-dev
- libboost-system-dev
- libreadline-dev
- default-jre
- gperf
install:
- bash contrib/install_yices2.sh
- bash contrib/install_opensmt2.sh
- bash contrib/install_dreal4.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} ..
- make
- make check
after_script:
- if [[ $ENABLE_COVERAGE == ON ]]; then
coveralls -r .. -b . --gcov-options '\-lp';
fi
notifications:
slack: sallydevelopers:0ShJwlN0m6sOFGb5wfaJcLAB