]> git.ipfire.org Git - thirdparty/lldpd.git/blob - tests/ci/install.sh
travis: run integration tests on Linux
[thirdparty/lldpd.git] / tests / ci / install.sh
1 #!/bin/sh
2
3 set -e
4
5 case "$(uname -s)" in
6 Darwin)
7 # OS X
8 brew update
9 brew install libevent jansson libxml2 check net-snmp
10 ;;
11 Linux)
12 # Linux
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 # For integration tests
20 sudo -H $(which python3) -m pip install -r tests/integration/requirements.txt
21 ;;
22 esac