summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2020-01-24 22:30:54 -0500
committerMichael Richardson <mcr@sandelman.ca>2020-01-25 14:37:18 -0500
commit1e842e24abfadaa0cadbd82ea89fe3170ddb3193 (patch)
tree6eb01da086bb4bacea7191ed09c92726707c36c9 /.travis.yml
parentabb9e14790d95d2e23625c76361bc533b2960ee6 (diff)
downloadtcpdump-1e842e24abfadaa0cadbd82ea89fe3170ddb3193.tar.gz
added libyaml-perl to list of packages for Linux
added cpanminus and YAML module for OSX install local::lib to get local path on OSX for YAML module
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index ae9d06ee..ae2734a7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -77,6 +77,7 @@ addons:
- libsmi2-dev
- libcap-ng-dev
- libpcap-dev
+ - libyaml-perl
git:
quiet: true
@@ -91,7 +92,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = linux ]; then sudo update-ca-certificates; fi
install:
- - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi | grep -v '%'; fi
+ - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi cpanminus | grep -v '%'; cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib); cpanm YAML; fi
before_script:
- if [ "$BUILD_LIBPCAP" = yes ]; then (cd .. && echo '$ git clone [...] libpcap.git' && git clone --depth 3 --branch=master --quiet git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure "--${REMOTE}-remote" --prefix=/tmp && make && make install); fi