forked from heremaps/here-data-sdk-cpp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
31 lines (31 loc) · 787 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
language: cpp
os: linux
dist: xenial
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
- WORKSPACE=$TRAVIS_BUILD_DIR
addons:
apt:
packages:
- libboost-all-dev
- libssl-dev
- libcurl4-openssl-dev
- clang
- nodejs
matrix:
include:
- compiler: clang
cache: ccache
env: BUILD_TYPE=RelWithDebInfo WORKSPACE=$TRAVIS_BUILD_DIR
name: Linux Build using clang
script: $WORKSPACE/scripts/linux/psv/travis_build_psv.sh
- compiler: gcc
cache: ccache
env: BUILD_TYPE=COVERAGE WORKSPACE=$TRAVIS_BUILD_DIR
name: Linux Build using gcc & tests & code coverage
script: $WORKSPACE/scripts/linux/psv/travis_build_psv.sh && $WORKSPACE/scripts/linux/psv/travis_test_psv.sh
branches:
only:
- master