forked from qgis/QGIS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
129 lines (121 loc) · 3.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
matrix:
fast_finish: true
allow_failures:
- os: osx
include:
# QT4 based build with Python 2.7 // using container based builds and prebuild binary dependencies in osgeo4travis
- os: linux
language: cpp
env:
- BUILD=qt4
- QT_VERSION=4
- LLVM_VERSION=3.8
sudo: false
cache:
apt: true
directories:
- $HOME/.ccache
compiler: clang
addons:
postgresql: "9.4"
apt:
sources:
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
- george-edison55-precise-backports # doxygen 1.8.3
packages:
- bison
- clang-3.8
- doxygen
- flex
- flip
- libfcgi-dev
- libfftw3-3
- 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
# 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:
- BUILD=qt5
- QT_VERSION=5
- LLVM_VERSION=3.8
sudo: false
cache:
apt: true
directories:
- $HOME/.ccache
compiler: clang
python: "3.3"
addons:
postgresql: "9.4"
apt:
sources:
- llvm-toolchain-precise-3.8
- 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.8
# 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_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