-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
39 lines (39 loc) · 1.93 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
---
language: generic
cache: ccache
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- gcc-5
- g++-5
- clang-3.8
- ninja-build
- doxygen
- nodejs
env:
global:
- WITH_COVERAGE=1
- WITH_DBG_EMBED_RESOURCES=1
- WITH_LTO=0
- WITH_UBSAN=1
- WITH_ASAN=1
matrix:
- COMPILER=gcc CC='gcc-5 -fuse-ld=gold' CXX='g++-5 --std=c++11 -fuse-ld=gold' WITH_THREADING=0 WITH_COMPUTED_GOTO=1 BUILD_DYNAMIC_LIB=0
- COMPILER=gcc CC='gcc-5 -fuse-ld=gold' CXX='g++-5 --std=c++11 -fuse-ld=gold' WITH_THREADING=0 WITH_COMPUTED_GOTO=0 BUILD_DYNAMIC_LIB=0
- COMPILER=gcc CC='gcc-5 -fuse-ld=gold' CXX='g++-5 --std=c++11 -fuse-ld=gold' WITH_THREADING=1 WITH_COMPUTED_GOTO=0 BUILD_DYNAMIC_LIB=1
- COMPILER=gcc CC='gcc-5 -fuse-ld=gold' CXX='g++-5 --std=c++11 -fuse-ld=gold' WITH_THREADING=1 WITH_COMPUTED_GOTO=1 BUILD_DYNAMIC_LIB=1
- COMPILER=clang CC='clang-3.8 -Wno-error=unused-command-line-argument' CXX='clang++-3.8 --std=c++11 -Wno-error=unused-command-line-argument' WITH_COMPUTED_GOTO=1 BUILD_DYNAMIC_LIB=0
- COMPILER=clang CC='clang-3.8 -Wno-error=unused-command-line-argument' CXX='clang++-3.8 --std=c++11 -Wno-error=unused-command-line-argument' WITH_COMPUTED_GOTO=1 BUILD_DYNAMIC_LIB=1
- COMPILER=clang CC='clang-3.8 -Wno-error=unused-command-line-argument' CXX='clang++-3.8 --std=c++11 -Wno-error=unused-command-line-argument' WITH_COMPUTED_GOTO=0 BUILD_DYNAMIC_LIB=0
- COMPILER=clang CC='clang-3.8 -Wno-error=unused-command-line-argument' CXX='clang++-3.8 --std=c++11 -Wno-error=unused-command-line-argument' WITH_COMPUTED_GOTO=0 BUILD_DYNAMIC_LIB=1
install:
- pip install --user cpp-coveralls
script:
- ./numake
after_success:
- if [ "$COMPILER" = "gcc" ]; then coveralls --root . --build-root . --exclude .build/*/src/tests --exclude .build/*/src/lip/vendor --exclude .build/*/src/lip/khash_impl.c ; fi
sudo: required
dist: trusty