Add FreeBSD CI, from Jan Beich.

pull/2270/head
Nicholas Marriott 2020-05-19 12:34:34 +01:00
parent dc56b3cd32
commit e10f5a72ce
2 changed files with 21 additions and 0 deletions

View File

@ -15,3 +15,10 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then
musl-tools
fi
fi
if [ "$TRAVIS_OS_NAME" = "freebsd" ]; then
sudo pkg install -y \
automake \
libevent \
pkgconf
fi

View File

@ -2,6 +2,7 @@ language: c
os:
- linux
- freebsd
- osx
compiler:
@ -28,6 +29,19 @@ jobs:
- os: osx
compiler: clang
env: BUILD=static
# No musl on FreeBSD
- os: freebsd
compiler: gcc
env: BUILD=musl
- os: freebsd
compiler: clang
env: BUILD=musl
- os: freebsd
compiler: gcc
env: BUILD=musl-static
- os: freebsd
compiler: clang
env: BUILD=musl-static
# No musl on OS X
- os: osx
compiler: gcc