Add FreeBSD CI, from Jan Beich.

This commit is contained in:
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 musl-tools
fi fi
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: os:
- linux - linux
- freebsd
- osx - osx
compiler: compiler:
@ -28,6 +29,19 @@ jobs:
- os: osx - os: osx
compiler: clang compiler: clang
env: BUILD=static 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 # No musl on OS X
- os: osx - os: osx
compiler: gcc compiler: gcc