QGIS/.travis.yml

130 lines
3.2 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:
2016-04-07 20:41:40 +02:00
# QT4 based build with Python 2.7 // using container based builds and prebuild binary dependencies in osgeo4travis
2016-03-10 18:55:06 +01:00
- os: linux
language: cpp
2016-04-09 13:29:35 +02:00
env:
- BUILD=qt4
2016-04-09 13:29:35 +02:00
- QT_VERSION=4
# - LLVM_VERSION=3.8
2016-04-07 20:41:40 +02:00
sudo: false
cache:
apt: true
directories:
- $HOME/.ccache
compiler: gcc
2016-03-10 18:55:06 +01:00
addons:
2016-04-07 20:41:40 +02:00
postgresql: "9.4"
apt:
sources:
# - llvm-toolchain-precise-3.8
2016-04-07 20:41:40 +02:00
- ubuntu-toolchain-r-test
- george-edison55-precise-backports # doxygen 1.8.3
packages:
- bison
- gcc-6
- g++-6
2016-04-07 20:41:40 +02:00
- doxygen
- flex
- flip
- libfcgi-dev
2016-05-26 17:47:33 +02:00
- libfftw3-3
2016-04-07 20:41:40 +02:00
- libpq-dev
- libqscintilla2-dev
- libqt4-dev
- libqt4-opengl-dev
- libqt4-sql-sqlite
- libqtwebkit-dev
- libqwt-dev
- libspatialindex-dev
- libspatialite-dev
- libsqlite3-dev
- pkg-config
- poppler-utils
- pyqt4-dev-tools
- python
- python-dev
- python-numpy
- python-pip
- python-psycopg2
- python-qscintilla2
- python-qt4-dev
- python-qt4-sql
- python-sip
- python-sip-dev
- txt2tags
- xvfb
2016-03-10 18:55:06 +01:00
# 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:
- BUILD=qt5
2016-04-09 13:59:38 +02:00
- QT_VERSION=5
- LLVM_VERSION=3.8
2016-03-10 18:55:06 +01:00
sudo: false
cache:
apt: true
directories:
- $HOME/.ccache
compiler: clang
python: "3.3"
2016-03-10 18:55:06 +01:00
addons:
postgresql: "9.4"
apt:
sources:
- llvm-toolchain-precise-3.8
2016-03-10 18:55:06 +01:00
- ubuntu-toolchain-r-test
- george-edison55-precise-backports # doxygen 1.8.3
packages:
- doxygen
- bison
- flex
- graphviz
- libpq-dev
- libfcgi-dev
- libfftw3-3
2016-03-10 18:55:06 +01:00
- pkg-config
- poppler-utils
- txt2tags
- xvfb
- flip
- clang-3.8
2016-03-10 18:55:06 +01:00
# OSX based build with QT4 and Python 2
- os: osx
env:
- BUILD=osx
- IGNORE_BUILD_FAILURES=YES
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:
2015-08-12 23:39:02 +10:00
- ./ci/travis/${TRAVIS_OS_NAME}/before_install.sh
2014-11-14 18:36:40 +01:00
install:
2015-08-12 23:39:02 +10:00
- ./ci/travis/${TRAVIS_OS_NAME}/install.sh
before_script:
2015-08-12 23:39:02 +10:00
- ./ci/travis/${TRAVIS_OS_NAME}/before_script.sh
2014-11-13 12:28:12 +01:00
2015-08-12 23:36:07 +10:00
script:
2015-08-12 23:39:02 +10:00
- ./ci/travis/${TRAVIS_OS_NAME}/script.sh
after_script:
- ./ci/travis/${TRAVIS_OS_NAME}/after_script.sh