QGIS/.travis.yml
2016-03-22 09:17:16 +01:00

80 lines
1.9 KiB
YAML

matrix:
include:
# QT4 based build with Python 2 // using a sudo environment
- os: linux
language: cpp
env: QT_VERSION=4
sudo: true
dist: precise
group: legacy
addons:
postgresql: "9.1"
compiler:
- clang
# 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: QT_VERSION=5
sudo: false
cache:
apt: true
directories:
- $HOME/.ccache
compiler: clang
python: "3.3"
addons:
postgresql: "9.4"
apt:
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
- george-edison55-precise-backports # doxygen 1.8.3
packages:
- doxygen
- bison
- flex
- graphviz
- libpq-dev
- libfcgi-dev
- pkg-config
- poppler-utils
- txt2tags
- xvfb
- flip
- clang-3.6
# OSX based build with QT4 and Python 2
- os: osx
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_OS_NAME}/before_install.sh
install:
- ./ci/travis/${TRAVIS_OS_NAME}/install.sh
before_script:
- ./ci/travis/${TRAVIS_OS_NAME}/before_script.sh
script:
- ./ci/travis/${TRAVIS_OS_NAME}/script.sh
after_script:
- ./ci/travis/${TRAVIS_OS_NAME}/after_script.sh