]> git.ipfire.org Git - thirdparty/lldpd.git/blame - tests/ci/install.sh
travis: update to Bionic
[thirdparty/lldpd.git] / tests / ci / install.sh
CommitLineData
ed9e6f41
VB
1#!/bin/sh
2
3set -e
4
5case "$(uname -s)" in
6 Darwin)
7 brew update
d5c6300f
VB
8 # Workaround a bug in Travis:
9 # https://github.com/Homebrew/legacy-homebrew/issues/43874
10 brew uninstall libtool
759da342 11 brew install libtool libxml2 check
ed9e6f41 12 ;;
62f9ab5e 13 Linux)
ed9e6f41
VB
14 sudo apt-get -qqy update
15 sudo apt-get -qqy install \
16 automake autoconf libtool pkg-config \
06987a24 17 libsnmp-dev libxml2-dev \
ed9e6f41 18 libevent-dev libreadline-dev libbsd-dev \
60c22a3c 19 check libc6-dbg libseccomp-dev \
98745499 20 libpcap-dev libcap-dev \
60c22a3c
VB
21 snmpd snmp \
22 python3-pip python3-setuptools python3-wheel
62f9ab5e
VB
23 # For integration tests
24 sudo -H $(which python3) -m pip install -r tests/integration/requirements.txt
ed9e6f41
VB
25 ;;
26esac