summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.travis.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 104722267..759de03f9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,19 @@
language: cpp
sudo: false
+os:
+- linux
+- osx
+
compiler:
- clang
- gcc
+matrix:
+ exclude:
+ - os: osx
+ compiler: gcc
+
addons:
apt:
sources:
@@ -13,6 +22,13 @@ addons:
- g++-4.8
- gdb
+
+before_script:
+- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
+ brew update;
+ brew install gdb;
+ fi
+
script: ./CIbuild.sh
env: