diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-25 08:21:09 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-25 08:21:09 +0900 |
commit | 00cc69489ce5153a39d91599acdda95a2c20b698 (patch) | |
tree | fffb10e13d5530ee67a631fb3d1200d560057843 /.travis.yml | |
parent | 2bdfc1a657175c3c13d086c780f2907d141fc749 (diff) | |
download | libquotient-00cc69489ce5153a39d91599acdda95a2c20b698.tar.gz libquotient-00cc69489ce5153a39d91599acdda95a2c20b698.zip |
Qt 5.6 or newer is required from now on
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 52 |
1 files changed, 31 insertions, 21 deletions
diff --git a/.travis.yml b/.travis.yml index 313d1408..f033f3dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,36 @@ language: cpp + +os: [ linux, osx ] + +compiler: [ gcc, clang ] + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + - sourceline: 'ppa:beineri/opt-qt563-trusty' + packages: + - g++-5 + - qt56base + matrix: - include: - - os: linux - dist: trusty - compiler: gcc - - os: linux - dist: trusty - compiler: clang - - os: osx + exclude: [ { os: osx, compiler: gcc } ] + 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 .. +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install qt5; export PATH="$PATH:/usr/local/opt/qt/bin"; fi +- if [ "$TRAVIS_OS_NAME" = "linux" ]; then . /opt/qt56/bin/qt56-env.sh; fi + script: - - cmake --build . --target all - - cd .. - - qmake qmc-example.pro && make all +- mkdir build && cd build +- cmake .. +- cmake --build . --target all +- cd .. +- qmake qmc-example.pro && make all + notifications: - webhooks: - urls: - - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtpdHN1bmUlM0FtYXRyaXgub3JnLyUyMVBDelV0eHRPalV5U3hTZWxvZiUzQW1hdHJpeC5vcmc" - on_success: change # always|never|change - on_failure: always - on_start: never + webhooks: + urls: + - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtpdHN1bmUlM0FtYXRyaXgub3JnLyUyMVBDelV0eHRPalV5U3hTZWxvZiUzQW1hdHJpeC5vcmc" + on_success: change # always|never|change + on_failure: always + on_start: never |