File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
matrix :
2
2
fast_finish : true
3
- allow_failures :
4
- - os : osx
5
3
include :
6
4
# QT4 based build with Python 2.7 // using container based builds and prebuild binary dependencies in osgeo4travis
7
5
- os : linux
Original file line number Diff line number Diff line change 13
13
# #
14
14
# ##########################################################################
15
15
16
+ # Remove default gdal provided by travis (we will replace it with gdal 2)
17
+ brew remove gdal || true
18
+
16
19
brew tap osgeo/osgeo4mac
17
20
brew update
18
- brew install osgeo/osgeo4mac/qgis-28 --without-postgis --without-postgresql --without-grass --without-gpsbabel --only-dependencies
19
- brew install qca
21
+ brew install osgeo/osgeo4mac/qgis-214 --without-postgresql --only-dependencies
20
22
brew install spawn-fcgi
21
23
brew install lighttpd
22
24
brew install poppler
@@ -31,6 +33,7 @@ brew ln libffi --force
31
33
32
34
mkdir -p ${HOME} /Library/Python/2.7/lib/python/site-packages
33
35
echo ' import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> ${HOME} /Library/Python/2.7/lib/python/site-packages/homebrew.pth
36
+ echo ' import site; site.addsitedir("/usr/local/opt/gdal-20/lib/python2.7/site-packages")' >> ${HOME} /Library/Python/2.7/lib/python/site-packages/gdal2.pth
34
37
35
38
# Needed for Processing
36
39
pip install psycopg2 numpy nose2 pyyaml mock future
Original file line number Diff line number Diff line change @@ -30,5 +30,6 @@ cmake \
30
30
-DWITH_PYSPATIALITE=ON \
31
31
-DQWT_INCLUDE_DIR=/usr/local/opt/qwt/lib/qwt.framework/Headers/ \
32
32
-DQWT_LIBRARY=/usr/local/opt/qwt/lib/qwt.framework/qwt \
33
+ -DGDAL_CONFIG=/usr/local/opt/gdal-20/bin/gdal-config \
33
34
-DCMAKE_CXX_FLAGS=" -Wno-deprecated-declarations" \
34
35
..
You can’t perform that action at this time.
0 commit comments