forked from baidu/tera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (41 loc) · 1.29 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
env:
global:
- secure: "EBGwhqHaPbERmOAPA7a1IprZZdFjEZqnuekgkNTBtzmGTaIYuh1BbSNGmVtnj3DuXuqAusiYN6olW2lMax15Fqw3Mwh++vh6DJFQ4wePImCzot7D4fTcopmNS2yoPl0IeyL/sLyQrxjflBfoTzw6DUZAXiU55gGB1faqCAfM5sQ="
- CC=gcc-4.8
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- gdb
- apport
coverity_scan:
project:
name: "baidu/tera"
description: "An Internet-Scale Database."
notification_email: [email protected]
build_command_prepend: "make clean"
build_command: "make -j4"
branch_pattern: coverity_scan
before_install:
- ulimit -c unlimited -S
- ulimit -a
- echo -n | openssl s_client -connect scan.coverity.com:443 |
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' |
sudo tee -a /etc/ssl/certs/ca-
install:
- bash -x build.sh origin
script:
- make check
- bash -x ft_test.sh
after_failure:
- find . -name 'core.*' -print
- for core_file in $(find test_output -name 'core*' -print); do
echo "${core_file}";
tmp=${core_file#*core.}; exe_name=${tmp%.*};
echo "${core_file} is generated by ${exe_name}"
gdb ${exe_name} ${core_file} -ex "thread apply all bt" -ex "set pagination 0" -batch;
done