QGIS/.travis.yml
2017-03-05 20:12:40 +01:00

104 lines
2.5 KiB
YAML

matrix:
fast_finish: true
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
env:
- LLVM_VERSION=3.8
- TRAVIS_CONFIG=linux
sudo: false
cache:
apt: true
pip: true
directories:
- $HOME/.ccache
- $HOME/depcache
timeout: 1000
compiler: clang
python: "3.3"
addons:
postgresql: "9.4"
apt:
sources:
- llvm-toolchain-precise-3.8
- george-edison55-precise-backports # doxygen 1.8.3
- ubuntu-toolchain-r-test
packages:
- doxygen
- bison
- flex
- graphviz
- libpq-dev
- libfcgi-dev
- libfftw3-3
- libgsl0-dev
- pkg-config
- poppler-utils
- txt2tags
- xvfb
- clang-3.8
- os: linux
language: python # This lets us use newer python versions from virtualenv
env:
- TRAVIS_CONFIG=code_layout
dist: trusty
sudo: false
cache:
apt: true
#compiler: clang
#python: "3.3"
addons:
apt:
sources:
- sourceline: 'ppa:jonathonf/backports' # silversearcher-ag backport
packages:
- pkg-config
- xvfb
- flip
# used for spell checks
- perl # lookahead regex in spell check script
- silversearcher-ag
- expect-dev # unbuffer
- coreutils
# OSX based build with QT4 and Python 2
# - os: osx
# env:
# - BUILD=osx
# - IGNORE_BUILD_FAILURES=YES
git:
depth: 30
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
before_install:
- ./ci/travis/${TRAVIS_CONFIG}/before_install.sh
install:
- ./ci/travis/${TRAVIS_CONFIG}/install.sh
before_script:
- ./ci/travis/${TRAVIS_CONFIG}/before_script.sh
script:
- ./ci/travis/${TRAVIS_CONFIG}/script.sh
after_script:
- ./ci/travis/${TRAVIS_CONFIG}/after_script.sh