2018-08-03 02:37:53 +05:30
|
|
|
# Travis CI integration -- https://travis-ci.org/troglobit/sysklogd
|
|
|
|
# Defaults to GNU GCC and autotools: ./configure && make && make test
|
|
|
|
language: c
|
|
|
|
|
|
|
|
# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Test build with both GCC and Clang (LLVM)
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- tree
|
2019-10-30 21:44:29 +05:30
|
|
|
- tshark
|
2018-08-03 02:37:53 +05:30
|
|
|
|
|
|
|
# Custom build script for the time being, no "make test" yet
|
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure --prefix=/tmp/sysklogd
|
|
|
|
- make clean
|
|
|
|
- make -j5
|
2019-10-31 14:32:08 +05:30
|
|
|
- make check || (cat test/test-suite.log; false)
|
2018-08-03 02:37:53 +05:30
|
|
|
- make install-strip
|
|
|
|
- tree /tmp/sysklogd
|