forked from stellar/stellar-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
70 lines (59 loc) · 1.21 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: cpp
sudo: false
dist: xenial
compiler:
- clang
- gcc
addons:
postgresql: "9.5"
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- autoconf
- automake
- bison
- clang-8
- cpp-7
- flex
- gcc-7
- g++-7
- libpq-dev
- libpq5
- libstdc++-7-dev
- libtool
- llvm-8
- pkg-config
- clang-format-8
- perl
- parallel
- gdb
- libunwind-dev
before_script:
- ulimit -c unlimited -S
script: ./ci-build.sh
after_failure:
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1)
- if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" ./src/stellar-core -ex "thread apply all bt" -ex "set pagination 0" -batch; fi
cache:
directories:
- $HOME/.ccache
notifications:
email: false
slack:
secure: VYA87p8f6PgmOhL8b8DM4t6k8vPYjULpT7LBhvmNBNe8iiNDtTzLpRbUXg6t6Ij7Y3MU4uOJ5K617hCqs81VfRoOakbiYTWHeYSsMmIrUM4+d5MZM4pVP0/bCE49qt06bZINorh6IHChhfuvod3uyUqbgNrwRf/qDIIboFDIty8=
branches:
only:
- auto
stages:
- compile
- test
matrix:
fast_finish: true
include:
- stage: compile
compiler: clang
script: ./ci-build.sh --disable-tests
- stage: compile
compiler: gcc
script: ./ci-build.sh --disable-tests