forked from ClusterLabs/libqb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (31 loc) · 1.06 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
sudo: false
language: c
compiler:
- gcc
- clang
addons:
apt:
packages:
- check
- splint
# for ipc.test:test_ipc_dispatch_*_deadlock_provoke
- libglib2.0-dev # natively present, but doesn't hurt
# for "make rpm"
- doxygen
- rpm
script: RPMBUILDOPTS_="--nodeps --define '_without_check 1'";
./autogen.sh
&& ./configure
&& make -C lib V=1
&& make VERBOSE=1 CPPFLAGS=-Dci_dump_shm_usage distcheck
&& sed "s|RPMBUILDOPTS =|\\0 ${RPMBUILDOPTS_}|" Makefile | make -f- rpm
after_failure:
# keep an eye on issue #234 if it recidivates
- for f in $(ls -1 /dev/shm/qb-test*); do ls -l "$f"; lsof -- "$f"; done
#- ls -l /var/run/*
- mount | grep -e /shm #-e /var
- df -h | grep -e /shm #-e /var
- lsblk -f
- cat /tmp/_shm_usage
notifications:
irc: "irc.freenode.net#clusterlabs-dev"