63 Commits

Author SHA1 Message Date
Rainer Gerhards
82c7eccd5a travis: do one complete build from tarball
This helps us detect missing testbench files even though we
currently need to keep testbench disabled during make distcheck.

Method was suggested by Thomas D. (whissi)
2015-12-17 14:19:36 +01:00
Rainer Gerhards
5c18df5493 Merge branch 'travis-build-mmgrok' into master-candidate 2015-12-10 08:40:34 +01:00
Peter Portante
c95e863c37 Tighten down code under analysis 2015-12-09 23:28:18 +00:00
Peter Portante
cfe67608ee Add missing libgrok1; break up make commands 2015-12-09 19:27:34 +00:00
Rainer Gerhards
1fcae9c88b travis: ensure that a static analyzer build fails if compile fails
We needed to set scan-build to provide its return code based on
whether or not it detected violations. However, this lead to
actual compile/link errors left unnoticed. We now do a regular
build and only if that succeeds call the static analyzer.
2015-12-08 17:33:40 +01:00
Rainer Gerhards
22a7e16392 travis: grok needs libtokyocabinet 2015-12-08 09:23:52 +01:00
Rainer Gerhards
86d9869cb1 travis: do not build on trusty by default 2015-12-08 09:20:46 +01:00
Rainer Gerhards
fc2fe71f6a cleanup 2015-12-08 08:27:17 +01:00
Rainer Gerhards
28b720505b travis: try to build mmgrok only under clang static analyzer
with Ubuntu 14.04, we should have the necessary support library
packages
2015-12-08 07:56:08 +01:00
Peter Portante
fd591751f5 Derive glib-2.0 build flags for mmgrok at config
Instead of requiring the user to set the proper CFLAGS before invoking
./configure, we add CFLAGS and LIBS values as determined by pkg-config
during configuration setup.

We also update the requirements to be glib-2.0 instead of just plain
glib.
2015-12-07 22:21:28 +00:00
8e311a4655 travis: Changed ksi dependency to package libksi1 and libksi1-devel 2015-12-07 16:39:34 +01:00
Rainer Gerhards
6b3b0c5e84 travis: enable build of omhttpfs 2015-12-06 17:16:35 +01:00
Rainer Gerhards
574a5e300f travis: exclude some sources from static analyzer check
We are almost done, and these may require some more time to fix. So make
the clang check as good as right now possible and prepare for merging to
master.
2015-12-06 12:41:29 +01:00
Rainer Gerhards
df6a992aaa travis: enable clang static analyzer for all runtime sources
this will initially cause travis failure, which we will solve
with later commits
2015-12-05 14:43:28 +01:00
Rainer Gerhards
1fbfb62c02 Merge branch 'travis-add-postgresql' into master-candidate 2015-12-05 10:39:04 +01:00
Rainer Gerhards
fd89e9ac16 travis: build ompgsql module 2015-12-05 10:25:43 +01:00
Rainer Gerhards
a5372d0ada Merge branch 'fix-ommail-nits' into master-candidate 2015-12-04 17:34:49 +01:00
Rainer Gerhards
eacfe1af54 travis: re-enable testing on master-candidate branch
this is sometimes useful so that PR get the most recent CI script
applied before finally being merged.
2015-12-04 17:30:26 +01:00
Rainer Gerhards
0c918ad766 travis: enable clang static analyzer for mmfields 2015-12-04 16:29:01 +01:00
Rainer Gerhards
c5bbc9fb47 travis: enable clang static analyzer for imptcp 2015-12-04 14:46:44 +01:00
Rainer Gerhards
ce61a935f9 travis: enable clang static analyzer for ommail 2015-12-04 14:32:42 +01:00
Rainer Gerhards
00e1eb2cc5 travis: run imfile through clang static analyzer 2015-12-04 14:10:28 +01:00
Rainer Gerhards
8b744e24ed travis: enable build of lbdbi related-modules 2015-12-04 07:47:34 +01:00
Rainer Gerhards
3303997611 travis: activate static analyzer tests for KSI components 2015-12-03 10:16:33 +01:00
Rainer Gerhards
0782f42e43 Merge branch 'travis-build-ksi' into master-candidate
Conflicts:
	.travis.yml
2015-12-03 09:54:02 +01:00
Rainer Gerhards
6d7d7aeb9a fix travis: wrong PPA used for Adiscon packages 2015-12-03 08:55:01 +01:00
Rainer Gerhards
b24164712d travis: also test ksi components during CI 2015-12-03 08:54:53 +01:00
Rainer Gerhards
cf9c4e9f1d travis: enable build of ommysql during CI 2015-12-03 08:11:34 +01:00
Rainer Gerhards
11da73f329 travis: -fno-color-diagnostics does not play well with static analyzer 2015-12-02 10:51:26 +01:00
Rainer Gerhards
3ec6e495bc travis: tell clang not to colorize error message
colorization makes them hard to read in travis log file
2015-12-02 10:42:16 +01:00
Rainer Gerhards
f1c2d5b173 debug subsystem: clean up somewhat dirty function call
On a runtime which does not handle null pointers in printf, this
could lead to an abort (but we don't have such runtimes in regular
cases).
2015-12-02 10:25:38 +01:00
Rainer Gerhards
0cc2564b21 travis: include "known-good" runtime files in static analysis 2015-12-02 09:43:45 +01:00
Rainer Gerhards
e550dff5c4 travis: re-enable tests other than static analyzer
These were disabled for faster tests on travis while working on
static analyzer - just 2 commits ago.
2015-12-01 18:49:51 +01:00
Rainer Gerhards
fe14e61df4 travis: try clang analyzer on more plugins 2015-12-01 18:21:42 +01:00
Rainer Gerhards
306576ea88 travis: do not test master-candidate branch (this is for buildbot) 2015-11-30 15:49:01 +01:00
Rainer Gerhards
249b49ebfa travis: imudp currently has a static analyzer violation
look later at this, get things going in testbench as quickly as
possible
2015-11-30 14:03:49 +01:00
Rainer Gerhards
248389b41a trusty: postpone 14.04 build
there are currently too many errors; re-try this with later commits,
focus now is on getting the static analyzer as far as possible
2015-11-30 13:00:28 +01:00
Rainer Gerhards
4354c8a9b5 travis: do not yet static analyze mmfields 2015-11-30 12:16:02 +01:00
Rainer Gerhards
c3e0a438cd travis: output testbench log (needed for ubuntu 14.04) 2015-11-30 12:07:25 +01:00
Rainer Gerhards
c0a9f17f1a travis: also try building on trusty 2015-11-30 11:37:36 +01:00
Rainer Gerhards
403e25983b travis: extend area covered by clang static analyzer
we still leave those parts out that are not ready yet
2015-11-30 10:54:04 +01:00
Rainer Gerhards
6ff6ae9187 travis: call clang static analyzer (where possible)
we can at least check those parts of the code that are already
sufficiently clean
2015-11-30 09:47:01 +01:00
Rainer Gerhards
5858a0b463 travis: use both gcc and clang 2015-11-24 13:07:57 +01:00
Rainer Gerhards
018cd9bc23 travis: include clang address sanitizer in testbench runs
while this doubles our testbench runtime, we get much better
coverage of potentially hard to find bugs.
2015-11-24 13:07:57 +01:00
Rainer Gerhards
eae1ef4533 travis: disable auto-debug, but keep it easy to turn it back on
I had to check scripts how to turn it on, now it is obvious.
2015-11-03 17:07:03 +01:00
Rainer Gerhards
8aeafdd2c6 travis: turn on autodebugging for better trouble-shooting 2015-11-03 17:07:03 +01:00
Rainer Gerhards
81db3c4e39 Merge branch 'enable-mmnormalize-in-travis' of https://github.com/Whissi/rsyslog into travis-devel-versions 2015-08-25 08:53:32 +02:00
Rainer Gerhards
6e1c396ad1 travis: we need to use the daily build of support packages
because a) sometimes we need some of the new stuff, obviously and
b) this safeguards us against other regressions *before* release
of rsyslog and supporting libs
2015-08-25 08:29:04 +02:00
Thomas D
c8c3059682 Enable mmnormalize for test coverage within Travis 2015-08-19 14:55:46 +02:00
Rainer Gerhards
61e1431bac travis: do NOT use clang by default for travis builds 2015-06-26 10:55:27 +02:00