aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-05-18 15:05:59 +0900
committerGitHub <noreply@github.com>2017-05-18 15:05:59 +0900
commitced7a66686596e74a1f25b5d9634b9b562870943 (patch)
tree872fecf646919db564c938e96e757f7eafef3b7b
parenteabb31a04889a8c8e9825f3d0024c1e8aa2cea54 (diff)
parentd89e8aa3c7c8160fc32bb3357c9d04046b301477 (diff)
downloadlibquotient-ced7a66686596e74a1f25b5d9634b9b562870943.tar.gz
libquotient-ced7a66686596e74a1f25b5d9634b9b562870943.zip
Merge pull request #64 from Fxrh/kitsune-osx-ci
Enable OSX in Travis CI
-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: