summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStephen G <stephen@egroat.com>2017-11-26 16:04:25 -0800
committerRalph Giles <giles@thaumas.net>2019-08-07 15:58:05 -0700
commitbe336819acdc117711e879c7b4c00e877050df50 (patch)
treee4358907beb9a24b190d7e79614d64cf70866896 /.travis.yml
parent7d034c60d2ba40116dab64dc0ad748fd30b6b77d (diff)
downloadogg-git-be336819acdc117711e879c7b4c00e877050df50.tar.gz
Improve travis coverage
Test on Linux and macOS with both gcc and clang. Ubuntu 14.04 (trusty) is now the default travis environment. Signed-off-by: Ralph Giles <giles@thaumas.net>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index aa5d0a7..40b4dc4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,20 @@
language: c
-dist: trusty
+
+os:
+ - linux
+ - osx
+
+compiler:
+ - gcc
+ - clang
env:
- BUILD=AUTOTOOLS
- BUILD=CMAKE
+install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew bundle; fi
+
script:
- if [[ "$BUILD" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
- if [[ "$BUILD" == "AUTOTOOLS" ]] ; then ./configure ; fi