Add osx build test to Travis

This commit is contained in:
Ari Koivula 2016-02-17 17:47:36 +02:00
parent 985c47fe20
commit 5bcdd22fef
2 changed files with 6 additions and 1 deletions

View file

@ -2,7 +2,7 @@
set -ev
./autogen.sh
./configure
./configure $KVZ_CONFIGURE_ARGS
make --jobs=2 V=1
if [ -n "$VALGRIND_TEST" ]; then

View file

@ -45,6 +45,11 @@ matrix:
- libtool
- yasm
- os: osx
# The version of clang in the osx image complains about -pthread being given to linker.
# It's a silly warning and I don't know a workaround, so let's just ignore all warnings.
env: KVZ_CONFIGURE_ARGS="--disable-werror"
# Check for external symbols without kvz_ prefix.
- compiler: gcc-4.8
script: