blob: f033f3ddf36704e8b82acf4ac47d30b2b62abdd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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:
exclude: [ { os: osx, compiler: gcc } ]
install:
- 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:
- 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
|