stunnel4/.travis.yml

35 lines
727 B
YAML
Raw Permalink Normal View History

2017-11-15 15:03:25 +01:00
sudo: false
language: c
os:
- linux
- osx
compiler:
- gcc
- clang
env:
- CONFIGURE_OPTIONS='--with-threads=pthread'
- CONFIGURE_OPTIONS='--with-threads=fork'
- CONFIGURE_OPTIONS='--with-threads=ucontext'
- CONFIGURE_OPTIONS='--disable-ipv6 --disable-fips --disable-systemd --disable-libwrap'
addons:
apt:
packages:
2018-03-29 12:42:35 +02:00
- autoconf-archive
2017-11-15 15:03:25 +01:00
- libssl-dev
- libwrap0-dev
2018-03-29 12:42:35 +02:00
- nmap
2017-11-15 15:03:25 +01:00
2018-03-29 12:42:35 +02:00
before_script:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install autoconf-archive nmap; fi; true
- autoreconf -fvi && touch src/dhparam.c
2017-11-15 15:03:25 +01:00
2018-03-29 12:42:35 +02:00
script:
- ./configure $CONFIGURE_OPTIONS
- make
- make test || ( for FILE in tests/logs/*.log; do echo "*** $FILE ***"; cat "$FILE"; done; false )