Travis-ci: build dmg on OS X

This commit is contained in:
Frank Morgner 2015-04-01 00:13:19 +02:00
parent a251b9335c
commit 311958e13f
1 changed files with 16 additions and 3 deletions

View File

@ -9,8 +9,17 @@ env:
matrix:
include:
- compiler: clang
os: osx
- compiler: gcc
os: osx
- compiler: clang
os: linux
env: ENABLE_DOC=--enable-doc
- compiler: gcc
os: linux
env: ENABLE_DOC=--enable-doc
- compiler: gcc
os: linux
env: HOST=i686-w64-mingw32
before_install:
@ -30,7 +39,7 @@ install:
before_script:
- ./bootstrap
- if [ -z "$HOST" ]; then
./configure --enable-pedantic --disable-strict --enable-doc --enable-dnie-ui;
./configure --enable-pedantic --disable-strict $ENABLE_DOC --enable-dnie-ui;
else
unset CC;
unset CXX;
@ -48,9 +57,13 @@ addons:
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
make;
if [ $TRAVIS_OS_NAME == osx ]; then
./MacOSX/build;
else
make;
fi;
fi
- if [ -z "$HOST" -a "${COVERITY_SCAN_BRANCH}" != 1 ]; then
- if [ -z "$HOST" -a "${COVERITY_SCAN_BRANCH}" != 1 -a "$TRAVIS_OS_NAME" != "osx" ]; then
make check;
make dist;
fi