tmux/.github/travis/before-install.sh

25 lines
457 B
Bash
Raw Normal View History

2020-05-03 10:09:36 +00:00
#!/bin/sh
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
sudo apt-get update -qq
sudo apt-get -y install bison \
2020-05-03 10:47:28 +00:00
autotools-dev \
2020-05-03 10:09:36 +00:00
libncurses5-dev \
libevent-dev \
pkg-config \
libutempter-dev \
build-essential
2020-05-03 11:33:47 +00:00
2020-05-03 11:37:38 +00:00
if [ "$BUILD" = "musl" -o "$BUILD" = "musl-static" ]; then
2020-05-03 11:33:47 +00:00
sudo apt-get -y install musl-dev \
musl-tools
fi
2020-05-03 10:09:36 +00:00
fi
2020-05-19 11:34:34 +00:00
if [ "$TRAVIS_OS_NAME" = "freebsd" ]; then
sudo pkg install -y \
automake \
libevent \
pkgconf
fi