Commit Graph

39 Commits (a272e433a8f9a1886db22cf77d2f6a3b2eed2a57)

Author SHA1 Message Date
Victor Julien f24067f5e5 travis: add liblzma (xz) for osx 5 years ago
Jason Ish a472dec865 travis-ci: update for minimum Rust version of 1.33.
Plus:
- Set latest known working stable Rust to 1.37.0.
- Remove test for --disable-rust, as that as option is
  not respected anymore.
- Add test for old/unsupported version of Rust to make
  sure ./configure fails.
- Other minor cleanups.
5 years ago
Victor Julien a5f1f19b27 travis: move checks into script
This makes error handling easier and more robust:
https://docs.travis-ci.com/user/job-lifecycle#complex-build-commands
5 years ago
Victor Julien 68455caa6a travis: add sphinx to trigger doc build 5 years ago
jason taylor a4ec133a88 ci: updated travis and appveyor for nss/nspr
* added nss and nspr requirements for appveyor build
* added nss and nspr requirements for travis builds
* added travis build without nss and nspr

Signed-off-by: jason taylor <jtfas90@gmail.com>
6 years ago
Jason Ish b2fedc9ed2 travis-ci: enable Rust for all builds 6 years ago
Jason Ish 832270c1d3 travis-ci: test that configure fails without jansson
Update the no-jansson test to fail out if configure
passes.

The script needed to be converted into a single list item
for the early exit to work on Travis.
6 years ago
Jason Ish db2ceb46dc travis: call make check in qa/coccinelle
Was being skipped due to the way the tests are called on
travis to prevent Travis from failing on too much output.
6 years ago
Jason Ish fff927fa4a travis/macos: use xcode 8.3 build image
Travis retired the xcode 8.1 image and has already been
routing this build to the xcode 8.3 image.
6 years ago
Jason Ish 08fb4d790e travis-ci/macos: install PyYAML and jq for verify 6 years ago
Jason Ish 9d86e9c54a travis: cache rust toolchain 6 years ago
Jason Ish e9d1e37f3d travis-ci: run suricata-verify on each build 6 years ago
Jason Ish 56af22803b travis: update rust version to 1.24.1 and 1.31.0.
1.24.1 is now the oldest version we test support for. All major
distributions appear to be at this version or new.

With the release of 1.31.0 just out, test that as the most
recent version.
6 years ago
Victor Julien c54acd3a6e travis: update rust to 1.29.1, add auto & disabled tests 6 years ago
Jason Ish 55ad4e4ece travis: use gcc-7 on cocci build
Catches more errors, like switch statements fall throughs
that are caught in private QA.
6 years ago
Jason Ish 1115eb52eb travis: redirect unittest output to file in all builds
On error, print the last 500 lines of output then exit 1.

Shoud allow us to see why a build fail on the debug tests,
when the error was burried in an output file we weren't
making visible.
7 years ago
Victor Julien d0ea147263 travis/rust: update rust minimum to 1.21
Ubuntu LTS and CentOS7/EPEL has upgraded to 1.21.

Update highest known working version to 1.23.
7 years ago
Jason Ish 749fa014d1 travis: allow rust-stable build to fail 7 years ago
Jason Ish 303238586c travis: rust 1.21.0 build 7 years ago
Jason Ish 288d2ce3e9 travis: do make distcheck on Rust 1.15.0 build 7 years ago
Jason Ish eb5193c5b4 travis: hook check-setup.sh into the build
Only do it for one build, for now use the one that also
enables Rust.
7 years ago
Jason Ish 16921b6b99 travis: enable strict rust; use rust 1.15.0
Adds --enable-rust-strict to fail on warnings. Also update
the minimum Rust version from 1.7.0 to 1.15.0.
7 years ago
Jason Ish 671e39642c travis: set dist to trusty (Ubuntu 14.04).
The default is still 12.04 which is EOL.
7 years ago
Jason Ish f1ba406d39 travis: add rust 1.7.0 build
One build with Rust 1.7.0, our oldest that we'll support as its
whats bundled with Ubuntu 16.04. Create another build that will use
the latest stable.
7 years ago
Jason Ish d6d6358691 travis: enable a rust build 7 years ago
fooinha a64e5e77c7 eve: async mode for redis output
eve: detects libevent for async redis at configure
eve: moves redis output code to new file - util-log-redis.{c,h}
eve: redis ECHO and QUIT commands for async mode
eve: redis output defaults if conf is missing
8 years ago
Jason Ish 00cd47b2bf travis: use new container build infrastructure
Migrate to the new Travis container build system. This build system does
not allow use of sudo, so required packages must be done declaratively
which required reworking how we install packages that are conditional
based on the build being done.

Mac builds are still done with sudo=true.
8 years ago
Jason Ish 1a7c5a01a1 travis: macos: unlink all deps, then relink
Kind of ugly, but first unlink all dependencies then install.
The deps that don't get an upgrade will remain unlinked, so
relink all dependencies as relinking an already linked dep
does not error out.
8 years ago
Victor Julien 205975009a travis: fix pkg-config in mac builds
Unlink pkg-config before installing.
8 years ago
Jason Ish db5708f6ad travis: fix libpcre in mac builds
It looks like Travis changed their Mac image and pcre is now
installed by default. In case it gets removed again, just unlink
it before re-installing so it doesn't fail on install.
8 years ago
Jason Ish 3e70d7befc travis: export CFLAGS on linux 8 years ago
Jason Ish f180ed8715 travis: add a build with -DNDEBUG 8 years ago
Jason Ish 94bc7e5f5f travis: use a build matrix and add additional builds
The following builds were added:
- linux, clang with -Wshadow
- linux w/ profiling
- linux w/ debug
- linux w/ no-json support

Removes the extra OS X build.

Travis file was reworked signficantly for readabilty.
8 years ago
Victor Julien 8b8426934f qa: only run cocci tests on one linux builder 8 years ago
Jason Ish 51f5ce6563 travis: macos support 8 years ago
Victor Julien 9015fb5a7f travis: set CFLAGS to error on cc warnings 9 years ago
Eric Leblond 9286360f86 travis: add libjansson and hiredis
Install the libs and force usage of hiredis. We will have a more
complete build with this two libs.
9 years ago
Eric Leblond 85b96d5032 travis-ci: use make check
This patch replaces unittest run by make check. It also install
coccinelle so we should have more test.
10 years ago
Victor Julien 7ee2aa9c90 Add initial travis-ci integration. 10 years ago