2014-01-18 21:36:15 +01:00
|
|
|
language: cpp
|
|
|
|
|
compiler: gcc
|
2020-01-17 16:55:07 +01:00
|
|
|
dist: xenial
|
2016-05-14 21:49:32 +02:00
|
|
|
sudo: required
|
2017-03-22 11:28:08 +01:00
|
|
|
cache:
|
|
|
|
|
directories:
|
2019-02-25 19:06:01 +01:00
|
|
|
- $HOME/apt_mingw_cache
|
2017-03-22 11:28:08 +01:00
|
|
|
- $HOME/.ccache
|
2018-12-09 11:19:15 +01:00
|
|
|
- $HOME/pbuilder-bases
|
2015-01-16 00:04:09 +01:00
|
|
|
matrix:
|
|
|
|
|
include:
|
|
|
|
|
- env: TARGET_OS=win32
|
2020-01-17 16:55:07 +01:00
|
|
|
dist: trusty
|
2015-01-16 00:04:09 +01:00
|
|
|
- env: TARGET_OS=win64
|
2020-01-17 16:55:07 +01:00
|
|
|
dist: trusty
|
2017-01-02 17:14:52 -05:00
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode8.2
|
2017-11-24 12:58:44 +01:00
|
|
|
- env: QT5=
|
2015-06-16 18:23:01 +02:00
|
|
|
- env: QT5=True
|
2019-01-03 21:44:49 +01:00
|
|
|
- env: QT5=True TARGET_OS=win32 TARGET_DEPLOY=True
|
2020-01-17 16:55:07 +01:00
|
|
|
dist: trusty
|
2019-01-03 21:44:49 +01:00
|
|
|
- env: QT5=True TARGET_OS=win64 TARGET_DEPLOY=True
|
2020-01-17 16:55:07 +01:00
|
|
|
dist: trusty
|
2016-02-24 15:07:26 -05:00
|
|
|
- os: osx
|
2017-10-18 17:02:40 +02:00
|
|
|
osx_image: xcode8.2
|
2016-02-24 15:07:26 -05:00
|
|
|
env: QT5=True
|
2019-01-03 21:44:49 +01:00
|
|
|
- env: TARGET_OS=debian-sid TARGET_DEPLOY=True
|
2019-03-07 06:32:23 +01:00
|
|
|
git:
|
|
|
|
|
depth: false
|
2018-12-19 12:45:33 +01:00
|
|
|
- env: TARGET_OS=debian-sid TARGET_ARCH=i386
|
2019-03-13 23:27:54 +01:00
|
|
|
git:
|
|
|
|
|
depth: false
|
2018-12-27 20:15:42 +01:00
|
|
|
- compiler: clang
|
|
|
|
|
env: TARGET_OS=debian-sid
|
2019-03-13 23:27:54 +01:00
|
|
|
git:
|
|
|
|
|
depth: false
|
2014-11-16 01:21:54 +01:00
|
|
|
before_install:
|
2016-02-24 19:17:34 -05:00
|
|
|
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.before_install.sh
|
2014-11-16 01:21:54 +01:00
|
|
|
install:
|
2016-02-24 19:17:34 -05:00
|
|
|
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.install.sh
|
2014-11-16 01:21:54 +01:00
|
|
|
before_script:
|
2020-07-04 20:39:04 +09:00
|
|
|
- export CMAKE_FLAGS="-DWANT_QT5=$QT5 -DUSE_WERROR=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUNDLE_QT_TRANSLATIONS=ON"
|
2017-03-22 11:28:08 +01:00
|
|
|
- if [ -z "$TRAVIS_TAG" ]; then export CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_CCACHE=ON"; fi
|
2014-11-16 01:21:54 +01:00
|
|
|
script:
|
2016-02-24 19:17:34 -05:00
|
|
|
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script.sh
|
2017-03-22 11:28:08 +01:00
|
|
|
after_script:
|
|
|
|
|
- ccache -s
|
2016-05-27 21:51:38 +08:00
|
|
|
notifications:
|
|
|
|
|
webhooks:
|
|
|
|
|
urls:
|
|
|
|
|
- https://webhooks.gitter.im/e/1ac7fc698195981a9227
|
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
|
on_start: never # options: [always|never|change] default: always
|