Merge pull request #76 from tumi8/travis_dtls_build
Build with and without DTLS support on travismaster
commit
5f390ea50b
51
.travis.yml
51
.travis.yml
|
@ -2,18 +2,41 @@ language: cpp
|
||||||
compiler: clang
|
compiler: clang
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
|
||||||
addons:
|
matrix:
|
||||||
apt:
|
include:
|
||||||
packages:
|
- os: linux
|
||||||
- cmake
|
addons:
|
||||||
- libboost-dev
|
apt:
|
||||||
- libboost-filesystem-dev
|
packages:
|
||||||
- libboost-regex-dev
|
- cmake
|
||||||
- libboost-test-dev
|
- libboost-dev
|
||||||
- libboost-thread-dev
|
- libboost-filesystem-dev
|
||||||
- libxml2-dev
|
- libboost-regex-dev
|
||||||
- libpcap-dev
|
- libboost-test-dev
|
||||||
- libsystemd-journal-dev
|
- libboost-thread-dev
|
||||||
- libsctp-dev
|
- libxml2-dev
|
||||||
|
- libpcap-dev
|
||||||
|
- libsystemd-journal-dev
|
||||||
|
- libsctp-dev
|
||||||
|
env: DTLS="NO"
|
||||||
|
- os: linux
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
- libboost-dev
|
||||||
|
- libboost-filesystem-dev
|
||||||
|
- libboost-regex-dev
|
||||||
|
- libboost-test-dev
|
||||||
|
- libboost-thread-dev
|
||||||
|
- libxml2-dev
|
||||||
|
- libpcap-dev
|
||||||
|
- libsystemd-journal-dev
|
||||||
|
- libsctp-dev
|
||||||
|
- libssl-dev
|
||||||
|
env: DTLS="YES"
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
script: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUPPORT_JOURNALD=ON . && make && make test
|
script:
|
||||||
|
- if [[ "$DTLS" == "NO" ]]; then cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUPPORT_JOURNALD=ON . && make && make test; fi
|
||||||
|
- if [[ "$DTLS" == "YES" ]]; then cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUPPORT_JOURNALD=ON -DSUPPORT_DTLS=YES . && make && make test; fi
|
||||||
|
|
Loading…
Reference in New Issue