aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml18
1 files changed, 11 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index c3d07b2a..24a182cf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,16 @@
-dist: trusty
language: cpp
-compiler:
- - gcc
- - clang
-before_install:
- - sudo apt-get update -qq
- - sudo apt-get install -y qt5-default
+matrix:
+ include:
+ - os: linux
+ dist: trusty
+ compiler: gcc
+ - os: linux
+ dist: trusty
+ compiler: clang
+ - os: osx
install:
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; else sudo apt-get update -qq; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install qt5; export PATH="$PATH:/usr/local/opt/qt/bin"; else sudo apt-get install -y qt5-default; fi
- mkdir build && cd build
- cmake ..
script: