]>
Commit | Line | Data |
---|---|---|
ed9e6f41 VB |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | case "$(uname -s)" in | |
6 | Darwin) | |
98e2e475 | 7 | # OS X |
ed9e6f41 | 8 | brew update |
151ed0cd | 9 | brew install libevent jansson libxml2 check net-snmp |
ed9e6f41 | 10 | ;; |
62f9ab5e | 11 | Linux) |
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 | |
62f9ab5e VB |
19 | # For integration tests |
20 | sudo -H $(which python3) -m pip install -r tests/integration/requirements.txt | |
ed9e6f41 VB |
21 | ;; |
22 | esac |