-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
34 lines (34 loc) · 832 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
language: cpp
#To uncomment in case a core occurs:
#sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libxml2-dev
- libusb-1.0-0-dev
- libcurl4-openssl-dev
- libgtest-dev
- gcc-9
- g++-9
- clang-5.0
- clang-tidy-5.0
#To uncomment in case a core occurs:
# - gdb
before_script:
- export CXX=g++-9
- export COV=gcov-9
script:
#To uncomment in case a core occurs:
# - ulimit -c unlimited
# - sudo sysctl kernel.core_pattern=core
- make debug
- make clang-tidy
#To uncomment in case a core occurs:
# - find ./ -name 'core*'
# - for i in $(find ./ -name 'core*' -print); do gdb kalenji_reader $i -ex "thread apply all bt" -ex "set pagination 0" -batch; done;
- make clean
# necessary to clean up debug build which makes `make install` fail
- make -j
- sudo make install