mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
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...
This commit is contained in:
parent
e6faf7e31b
commit
8c2c23f76c
15
.travis.yml
15
.travis.yml
@ -15,19 +15,22 @@ matrix:
|
||||
- compiler: "gcc"
|
||||
- compiler: "clang"
|
||||
include:
|
||||
# note: -Werror makes ./configure.sh not properly detect functions
|
||||
# like strndup() on Ubuntu 12.04. So we enable it on trusty builds
|
||||
# only. The first build with gcc actually only has the purpose of
|
||||
# checking for warnings (the testbench currently has some issues
|
||||
# on travis Ubuntu 14.04, but not in the regular environments, we
|
||||
# need to find out some time why this is).
|
||||
- compiler: "gcc"
|
||||
env: CFLAGS="-g -std=c99 -Werror -W -Wall -Wextra -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute"
|
||||
dist: trusty
|
||||
- compiler: "clang"
|
||||
env: STAT_AN="YES", GROK="YES", CFLAGS="-g -O1 -std=c99 -Werror"
|
||||
dist: trusty
|
||||
- compiler: "gcc"
|
||||
env: BUILD_FROM_TARBALL="YES", CHECK="YES", CFLAGS="-g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute"
|
||||
- compiler: "clang"
|
||||
env: CHECK="YES", CFLAGS="-g -O1 -fsanitize=address -fno-color-diagnostics"
|
||||
- compiler: "clang"
|
||||
env: STAT_AN="YES", GROK="YES", CFLAGS="-g -O1 -std=c99 -Werror"
|
||||
dist: trusty
|
||||
# note: -Werror makes ./configure.sh not properly detect functions
|
||||
# like strndup() on Ubuntu 12.04. So we enable it on the clang
|
||||
# build only. We might think about doing this for gcc later as well.
|
||||
|
||||
before_install:
|
||||
#- travis_retry sudo apt-get install -qq python-software-properties
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user