-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8d9ba1
commit a477b3a
Showing
8 changed files
with
70 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export DEBIAN_FRONTEND=noninteractive | ||
sudo add-apt-repository ppa:ubuntugis/ppa -y | ||
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y # For postgresql-9.1-postgis-2.1 | ||
sudo add-apt-repository ppa:smspillaz/cmake-3.0.2 -y | ||
sudo add-apt-repository ppa:kedazo/doxygen-updates-precise -y # For doxygen 1.8.8 | ||
sudo apt-get update -qq | ||
sudo apt-get install --force-yes --no-install-recommends --no-install-suggests \ | ||
bison cmake cmake-data doxygen flex git graphviz \ | ||
grass-dev libexpat1-dev libfcgi-dev libgdal1-dev \ | ||
libgeos-dev libgsl0-dev libpq-dev libproj-dev \ | ||
libqscintilla2-dev libqt4-dev libqt4-opengl-dev \ | ||
libqt4-sql-sqlite libqtwebkit-dev libqwt-dev \ | ||
libspatialindex-dev libspatialite-dev libsqlite3-dev \ | ||
lighttpd pkg-config poppler-utils pyqt4-dev-tools \ | ||
python python-dev python-qt4 python-qt4-dev \ | ||
python-sip python-sip-dev spawn-fcgi txt2tags \ | ||
xauth xfonts-100dpi xfonts-75dpi xfonts-base \ | ||
xfonts-scalable xvfb \ | ||
postgresql-9.1-postgis-2.1/precise # postgis one from ubuntugis-unstable, not pgdg | ||
cmake --version | ||
clang --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
brew tap osgeo/osgeo4mac | ||
brew update | ||
brew install osgeo/osgeo4mac/qgis-28 --only-dependencies | ||
brew install doxygen | ||
|
||
brew ln bison --force | ||
brew ln sqlite --force | ||
brew ln openssl --force | ||
brew ln expat --force | ||
brew ln libxml2 --force | ||
brew ln gettext --force | ||
brew ln libffi --force | ||
|
||
export HOMEBREW_PREFIX=`brew --prefix` | ||
export PATH=${PATH}:${HOMEBREW_PREFIX}/bin:${HOMEBREW_PREFIX}/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/X11/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
printf "[qgis_test]\nhost=localhost\ndbname=qgis_test\nuser=postgres" > ~/.pg_service.conf | ||
psql -c 'CREATE DATABASE qgis_test;' -U postgres | ||
psql -c 'CREATE EXTENSION postgis;' -U postgres -d qgis_test | ||
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata.sql -U postgres -d qgis_test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mkdir build | ||
cd build | ||
cmake -DWITH_SERVER=ON -DWITH_STAGED_PLUGINS=OFF -DWITH_GRASS=OFF \ | ||
-DSUPPRESS_QT_WARNINGS=ON -DENABLE_MODELTEST=ON -DENABLE_PGTEST=ON \ | ||
-DWITH_QWTPOLAR=OFF -DWITH_APIDOC=ON -DWITH_PYSPATIALITE=ON .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
mkdir build | ||
cd build | ||
#no PGTEST for OSX - can't get postgres to start with brew install | ||
cmake -DWITH_SERVER=ON -DWITH_STAGED_PLUGINS=OFF -DWITH_GRASS=OFF \ | ||
-DSUPPRESS_QT_WARNINGS=ON -DENABLE_MODELTEST=ON -DENABLE_PGTEST=OFF \ | ||
-DWITH_QWTPOLAR=OFF -DWITH_APIDOC=ON -DWITH_PYSPATIALITE=ON \ | ||
-DQWT_INCLUDE_DIR=/usr/local/opt/qwt/lib/qwt.framework/Headers/ \ | ||
-DQWT_LIBRARY=/usr/local/opt/qwt/lib/qwt.framework/qwt .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
xvfb-run ctest -V -E 'qgis_openstreetmaptest|qgis_wcsprovidertest' -S ./qgis-test-travis.ctest --output-on-failure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ctest -V -E 'qgis_openstreetmaptest|qgis_wcsprovidertest' -S ./qgis-test-travis.ctest --output-on-failure | ||
|