QGIS/.travis.yml

112 lines
2.7 KiB
YAML
Raw Normal View History

2016-03-10 18:55:06 +01:00
matrix:
fast_finish: true
2016-03-10 18:55:06 +01:00
include:
# QT5 based build with Python 3 // using container based builds and prebuild binary dependencies in osgeo4travis
- os: linux
language: python # This lets us use newer python versions from virtualenv
2016-04-09 13:59:38 +02:00
env:
- LLVM_VERSION=3.8
- TRAVIS_CONFIG=linux
2017-07-19 17:12:06 +02:00
dist: precise
2016-03-10 18:55:06 +01:00
sudo: false
cache:
apt: true
2017-03-04 11:15:58 +01:00
pip: true
directories:
- $HOME/.ccache
2017-03-04 10:35:59 +01:00
- $HOME/depcache
timeout: 1000
compiler: clang
python: "3.3"
2016-03-10 18:55:06 +01:00
addons:
postgresql: "9.4"
apt:
sources:
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
2016-03-10 18:55:06 +01:00
packages:
- bison
- flex
- libpq-dev
- libfcgi-dev
- libfftw3-3
- libgsl0-dev
2016-03-10 18:55:06 +01:00
- pkg-config
- poppler-utils
- xvfb
- clang-3.8
- os: linux
2017-05-23 09:34:27 +02:00
language: python
python: "3.5"
env:
- TRAVIS_CONFIG=code_layout
dist: trusty
sudo: false
cache:
apt: true
addons:
apt:
sources:
- sourceline: 'ppa:jonathonf/backports' # silversearcher-ag backport
- sourceline: 'ppa:sergey-dryabzhinsky/packages' # doxygen
packages:
- doxygen
- graphviz
- txt2tags
- pkg-config
- xvfb
- flip
# used for spell checks
2017-05-23 09:34:27 +02:00
- perl # sipify, lookahead regex in spell check script
- silversearcher-ag
- expect-dev # unbuffer
- coreutils
2017-05-23 09:34:27 +02:00
- libyaml-tiny-perl
2016-03-10 18:55:06 +01:00
# OSX based build with QT4 and Python 2
2017-04-23 13:08:58 +02:00
- os: osx
osx_image: xcode8.3 # MacOS 10.12: Sierra
cache:
pip: true
directories:
- $HOME/.ccache
env:
- TRAVIS_CONFIG=macos
- IGNORE_BUILD_FAILURES=YES
allow_failures:
- os: osx
2015-07-27 14:35:37 +02:00
git:
depth: 30
2015-07-27 14:35:37 +02:00
2016-03-14 23:58:06 +01:00
notifications:
irc: "chat.freenode.net#qgis-test"
on_failure: change
on_success: change
skip_join: true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/467e3aff72e344d1dae3
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # default: never
2014-11-14 18:36:40 +01:00
before_install:
2017-04-26 16:18:20 +02:00
- ./.ci/travis/${TRAVIS_CONFIG}/before_install.sh
2014-11-14 18:36:40 +01:00
install:
2017-04-26 16:18:20 +02:00
- ./.ci/travis/${TRAVIS_CONFIG}/install.sh
before_script:
2017-04-26 16:18:20 +02:00
- ./.ci/travis/${TRAVIS_CONFIG}/before_script.sh
2014-11-13 12:28:12 +01:00
2015-08-12 23:36:07 +10:00
script:
2017-04-26 16:18:20 +02:00
- ./.ci/travis/${TRAVIS_CONFIG}/script.sh
after_script:
2017-04-26 16:18:20 +02:00
- ./.ci/travis/${TRAVIS_CONFIG}/after_script.sh