100 Commits

Author SHA1 Message Date
Rainer Gerhards
e63099c597 travis: merge software install into script step
this provides the ability to use common logic for some
steps (will show benefits in the longer term)
2016-03-14 11:24:24 +01:00
Rainer Gerhards
ad93c77484 travis: move install step also to a custom script
also provides better ability for complex operations
2016-03-13 13:58:04 +01:00
Rainer Gerhards
f7b3c4e95c travis: use a shell script to carry out tests
this was recommended by Travis support for cases where
more logic is needed inside the script portion. Among others,
this permits to abort a build as soon a failure happens.
2016-03-12 18:05:52 +01:00
Rainer Gerhards
e1b89d6dd8 travis: enable building journal components 2016-03-10 16:10:40 +01:00
Rainer Gerhards
3d5097a681 travis: enable some more checks 2016-03-10 12:01:31 +01:00
Rainer Gerhards
df10aa508b travis: better diagnostics in static analyzer run
use "strong" warnings for the regular build, but use much
relaxed ones for the analyzer run (because otherwise it seems
to abort due to a bug in static analyzer)
2016-03-10 11:46:08 +01:00
Rainer Gerhards
e93aec6f21 travis: cease use of travis_retry
as of travis support, this is not vital, but makes it hard
to diagnose some problems with package archives
2016-03-10 11:46:08 +01:00
Rainer Gerhards
1169279f5b travis: use clang-3.6
the 3.5 static analyzer seems to be unreliable. Let's see if
the 3.6 version fixes that.
2016-03-10 11:46:08 +01:00
Rainer Gerhards
65112d703e travis: temporarily disable tests involving usertools
This is because the rest of travis is not yet ready for this.
We want to enable it, but only in the 8.18 timeframe whereas
the rest of the patches shall go into 8.17.
2016-03-08 15:43:58 +01:00
c3eb502c61 testbench: Fixed running ksi tools only when usertools is enabled
Enabled usertools in travis
2016-03-08 15:42:17 +01:00
Rainer Gerhards
ea23883483 travis: libgrok is not availabel on Ubuntu 12.04 2016-03-03 14:03:09 +01:00
Rainer Gerhards
7938c629a9 travis: adjust for packages not yet whitelisted by travis
this also means we cannot proceed towards container-builds
for the whole system. We may consider adding an extra
container run with a subset, if that makes sense
(a.k.a "if travis non-container keep being very slow")
2016-03-03 09:21:00 +01:00
Rainer Gerhards
6520f99602 travis: moving towards container-based builds for 12.04 2016-03-03 08:01:08 +01:00
Rainer Gerhards
e232155145 travis: check hiredis only on trusty
because necessary packages are not available on older
platform.
2016-03-02 14:31:26 +01:00
Rainer Gerhards
22720bb8b5 travis: check build of omhiredis 2016-03-01 16:54:12 +01:00
Rainer Gerhards
9ede6af99a travis: enable build of omkafka 2016-02-27 18:26:52 +01:00
Rainer Gerhards
5c12c54148 travis: build omqmqp1 contributed plugin during CI tests 2016-02-23 08:11:10 +01:00
Rainer Gerhards
43f2a61747 travis: enable building ommongodb
closes https://github.com/rsyslog/rsyslog/issues/794
2016-02-16 15:07:12 +01:00
Rainer Gerhards
cf6fb2120f travis: install disallowed packages via sudo 2016-02-07 18:11:46 +01:00
Rainer Gerhards
ddd70ef577 add libdbi drivers for mysql
This is required because when we enable mysql testing, libdbi is
also tested against it (what makes a lot of sense).
2016-02-07 18:00:52 +01:00
55bf7ac742 testbench: activated mysql tests for travis 2016-02-04 19:53:55 +01:00
Rainer Gerhards
4669fbdcf6 require libfastjson 2016-02-03 17:13:33 +01:00
Rainer Gerhards
98463ed482 Merge branch 'master-integrate-dynstats' into master-candidate
Conflicts:
	.travis.yml
2016-01-29 15:45:11 +01:00
Rainer Gerhards
e48fd4dd70 travis: also build omelasticsearch during CI run 2016-01-28 14:36:15 +01:00
Rainer Gerhards
fd7e0a1d4d travis: enable grok under regular test as well
as we now do this under trusty, there should be no issue
with that.
2016-01-28 13:00:32 +01:00
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
3549041b0f Merge branch 'dyn_stats' of https://github.com/janmejay/rsyslog into master-integrate-dynstats
Conflicts:
	.travis.yml
	grammar/rainerscript.c
	plugins/imdiag/imdiag.c
2016-01-28 09:51:25 +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