]> git.ipfire.org Git - thirdparty/lldpd.git/blame - tests/ci/install.sh
travis: move install/run steps into tests/ci
[thirdparty/lldpd.git] / tests / ci / install.sh
CommitLineData
ed9e6f41
VB
1#!/bin/sh
2
3set -e
4
5case "$(uname -s)" in
6 Darwin)
98e2e475 7 # OS X
ed9e6f41 8 brew update
151ed0cd 9 brew install libevent jansson libxml2 check net-snmp
ed9e6f41
VB
10 ;;
11 *)
98e2e475 12 # Linux
ed9e6f41
VB
13 sudo apt-get -qqy update
14 sudo apt-get -qqy install \
15 automake autoconf libtool pkg-config \
16 libsnmp-dev libxml2-dev libjansson-dev \
17 libevent-dev libreadline-dev libbsd-dev \
18 check
19 ;;
20esac