diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-05-18 13:58:21 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-05-18 14:58:19 +0900 |
commit | d89e8aa3c7c8160fc32bb3357c9d04046b301477 (patch) | |
tree | 872fecf646919db564c938e96e757f7eafef3b7b | |
parent | eabb31a04889a8c8e9825f3d0024c1e8aa2cea54 (diff) | |
download | libquotient-d89e8aa3c7c8160fc32bb3357c9d04046b301477.tar.gz libquotient-d89e8aa3c7c8160fc32bb3357c9d04046b301477.zip |
Enable OSX in Travis CI
-rw-r--r-- | .travis.yml | 18 |
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: |