Rainer Gerhards
6b541ac89b
travis: add valgrind suppression file for trusty
...
somehow trusty as used by travis does not include sufficient default
suppressions, e.g. we err out with a GNU clib releated violation.
2016-01-28 12:33:56 +01:00
Rainer Gerhards
ad8abfa8c6
travis: run testbench under trusty
2016-01-28 08:53:42 +01:00
Rainer Gerhards
8c2c23f76c
travis: re-structure so that simple test are run first
...
when waiting for travis, it makes sense to have some of the quick
checkers run first, as this may be a shortcut to problem detection.
Granted, this is maybe most of interest for specific development
tasks, but for others it does not hurt...
2016-01-27 10:12:53 +01:00
Rainer Gerhards
575c4bb456
travis: remove invalid ./configure flag
2016-01-27 08:45:36 +01:00
Rainer Gerhards
240a7fe8f6
travis: re-enable full test environment, turn on extra warnings
2016-01-27 08:37:53 +01:00
Rainer Gerhards
11404600c1
travis: track down why we still get compile errors
2016-01-27 08:17:09 +01:00
Rainer Gerhards
8773c99eb7
re-enable -Werror
2016-01-26 18:26:23 +01:00
Rainer Gerhards
78ca3b27b3
travis: do a testrun without -Werror (so we see all warnings)
2016-01-26 18:02:44 +01:00
Rainer Gerhards
a5d3210e8d
travis: fail build on compile time warnings
2016-01-26 17:39:47 +01:00
Rainer Gerhards
23abcb6269
travis: we need faketime for new testbench test
2016-01-12 06:37:33 -05:30
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