forked from NASA-SW-VnV/ikos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (50 loc) · 1.06 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
language: cpp
os:
- linux
- osx
addons:
apt:
update: true
sources:
- sourceline: "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
packages:
- gcc
- g++
- cmake
- libgmp-dev
- libboost-dev
- libboost-filesystem-dev
- libboost-thread-dev
- libboost-test-dev
- python
- python-pygments
- libsqlite3-dev
- libtbb-dev
- libz-dev
- libedit-dev
- llvm-9
- llvm-9-dev
- llvm-9-tools
- clang-9
homebrew:
update: true
taps: nasa-sw-vnv/core
packages:
- cmake
- gmp
- boost
- tbb
- llvm
- apron
script:
- mkdir build
- cd build
- if [ $TRAVIS_OS_NAME == linux ]; then cmake -DCMAKE_BUILD_TYPE="Debug" -DLLVM_CONFIG_EXECUTABLE="/usr/lib/llvm-9/bin/llvm-config" ..; fi
- if [ $TRAVIS_OS_NAME == osx ]; then cmake -DCMAKE_BUILD_TYPE="Debug" -DLLVM_CONFIG_EXECUTABLE="/usr/local/opt/llvm/bin/llvm-config" ..; fi
- make
- make install
- make check
env:
global:
- MAKEFLAGS="-j2"