mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-30 21:44:49 +08:00
5c7ce0f8f6
This change allows to see better the possible warnings
23 lines
610 B
YAML
23 lines
610 B
YAML
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
env:
|
|
global:
|
|
- BUILD_LIBPCAP=true
|
|
matrix:
|
|
- BUILD_IPV6=true
|
|
- BUILD_IPV6=false
|
|
|
|
before_script:
|
|
- sudo apt-get install libssl-dev libssl0.9.8 libssl1.0.0
|
|
- if [ "$BUILD_LIBPCAP" = "true" ]; then ( cd ../ && git clone git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure && make ); else sudo apt-get install libpcap-dev; fi
|
|
|
|
script:
|
|
- touch .devel configure
|
|
- if [ "$BUILD_IPV6" = "true" ]; then ./configure; else ./configure --disable-ipv6; fi
|
|
- make -s
|
|
- if [ "$BUILD_IPV6" = "true" ]; then make check; else true; fi
|