aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-10-28 10:56:19 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-10-29 08:42:03 +0100
commitbf6ca4405ae7078d224862025a30dfaa06601a28 (patch)
treedbb5b1436f195526a4cbb29f0f63f3d08060bb10
parentaee9099a44c5af4c445bd2dfd62036ecb29b959a (diff)
downloadcalcurse-bf6ca4405ae7078d224862025a30dfaa06601a28.tar.gz
calcurse-bf6ca4405ae7078d224862025a30dfaa06601a28.zip
.travis.yml: Test under both Linux and OS X
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r--.travis.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0359cb4..47d27fe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,9 @@
language: c
+os:
+ - linux
+ - osx
+
addons:
apt:
packages:
@@ -7,4 +11,13 @@ addons:
- autopoint
- xmlto
+before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install asciidoc; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gettext; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xmlto; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force gettext; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo mkdir /etc/xml; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo ln -s /usr/local/etc/xml/catalog /etc/xml/catalog; fi
+
script: ./autogen.sh && ./configure && make && make check