-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy path.travis.yml
47 lines (43 loc) · 968 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
os: linux
language: cpp
sudo: required
dist: trusty
addons:
apt:
packages:
- gdb
- apport
- gcc-7
- g++-7
- cmake
- ninja-build
sources:
- ubuntu-toolchain-r-test
matrix:
include:
- env: c_compiler=gcc-7 cxx_compiler=g++-7 config=Debug
compiler: gcc
- env: c_compiler=gcc-7 cxx_compiler=g++-7 config=Release
compiler: gcc
before_install:
- ulimit -c
- ulimit -a -S
- ulimit -a -H
- cat /proc/sys/kernel/core_pattern
- cat /etc/default/apport
- service --status-all || true
- initctl list || true
script:
- ${c_compiler} -v && ${cxx_compiler} -v && cmake --version && ninja --version
- export CC=${c_compiler}
- export CXX=${cxx_compiler}
- cmake/build_example.sh ${config} ${c_compiler} ${cxx_compiler}
- ulimit -c unlimited -S
- pushd build/current
- ninja run -k 0
- ls -l
- popd
- ls -l example
- cmake/print_bt_if_core_found.sh example/core
notfications:
email: false