forked from OSGeo/PROJ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
119 lines (102 loc) · 2.4 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
# This is the config file for building proj and running its test suite
# with Travis-ci.org
language: cpp
branches:
except:
- /^(cherry-pick-)?backport-\d+-to-/
cache:
directories:
- $HOME/.ccache
matrix:
fast_finish: true
include:
- os: linux
dist: xenial
compiler: gcc
services:
- docker
env:
- BUILD_NAME=linux_gcc
- DETAILS="linux, gcc-4.8"
- CC=gcc-4.8
- CXX=g++-4.8
addons:
apt:
packages:
- g++-4.8
- os: linux
dist: bionic
compiler: gcc
services:
- docker
env:
- BUILD_NAME=linux_gcc8
- DETAILS="linux, gcc8"
- DETAILS="linux, gcc8, i386"
- ARCH=i386
- CC=gcc-8
- CXX=g++-8
- CXXFLAGS='-g -O2 -m32 -D_GLIBCXX_ASSERTIONS'
- CFLAGS='-g -O2 -m32'
- TIFF_CFLAGS=-I/usr/include/i386-linux-gnu
- TIFF_LIBS="-L/usr/lib/i386-linux-gnu -ltiff"
- SQLITE3_CFLAGS=-I/usr/include/i386-linux-gnu
- SQLITE3_LIBS="-L/usr/lib/i386-linux-gnu -lsqlite3"
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- g++-8-multilib
- make
- autoconf
- automake
- os: linux
dist: xenial
compiler: clang
services:
- docker
env:
- BUILD_NAME=linux_clang
- DETAILS="linux, clang"
# - os: linux
# dist: bionic
# compiler: gcc
# arch: s390x
# env:
# - BUILD_NAME=linux_s390x
# - DETAILS="linux, s390x"
- os: osx
env:
- BUILD_NAME=osx
- DETAILS="osx"
- os: linux
dist: xenial
compiler: gcc
env:
- BUILD_NAME=mingw32
- DETAILS="mingw32"
- os: linux
compiler: gcc
dist: xenial
env:
- BUILD_NAME=csa
- DETAILS="CLang Static Analyzer"
allow_failures:
- env: BUILD_NAME=mingw32
before_install: ./travis/${BUILD_NAME}/before_install.sh
install: ./travis/${BUILD_NAME}/install.sh
script:
- echo "done"
after_success: ./travis/${BUILD_NAME}/after_success.sh
notifications:
irc:
channels:
- "irc.freenode.org#proj-activity"
# - "irc.freenode.org#gdal"
# - "irc.freenode.org#proj"
use_notice: true
# #email:
# # recipients:
# # - [email protected]
#