Skip to content

Commit 471573d

Browse files
committed
Merge branch 'master' of https://github.com/qgis/QGIS
2 parents 8726146 + e30f704 commit 471573d

File tree

1,614 files changed

+29581
-19455
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,614 files changed

+29581
-19455
lines changed

.ci/travis/code_layout/install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
export CORES=2
1717

1818
mkdir build
19-
cd build
19+
pushd build
2020

2121
cmake -DWITH_CORE=OFF -DWITH_APIDOC=ON -DWITH_ASTYLE=ON -DENABLE_TESTS=ON ..
22-
make -j${CORES}
22+
23+
popd

.ci/travis/code_layout/script.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
set -e
1616

1717
pushd build
18+
1819
export CTEST_BUILD_COMMAND="/usr/bin/make -j3 -i -k"
19-
python ${TRAVIS_BUILD_DIR}/.ci/travis/scripts/ctest2travis.py xvfb-run ctest -V --output-on-failure -S ${TRAVIS_BUILD_DIR}/.ci/travis/travis.ctest
20+
python3 ${TRAVIS_BUILD_DIR}/.ci/travis/scripts/ctest2travis.py xvfb-run ctest -V --output-on-failure -S ${TRAVIS_BUILD_DIR}/.ci/travis/travis.ctest
21+
22+
ctest -V -R PyQgsDocCoverage
23+
2024
popd

.ci/travis/linux/blacklist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ PyQgsAppStartup
1111

1212
# temporary during processing refactoring
1313
ProcessingParametersTest
14-
ProcessingGdalAlgorithmsTest
1514

1615
# code layout tests are run on separate build
1716
qgis_spelling

.ci/travis/linux/install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ CMAKE_FLAGS="
5252
-DWITH_QWTPOLAR=OFF
5353
-DWITH_APIDOC=OFF
5454
-DWITH_ASTYLE=OFF
55-
-DWITH_INTERNAL_YAML=OFF
5655
-DDISABLE_DEPRECATED=ON
5756
-DCXX_EXTRA_FLAGS=${CLANG_WARNINGS}
5857
"

.ci/travis/linux/script.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,16 @@ export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
2929

3030
export CTEST_BUILD_COMMAND="/usr/bin/make -j3 -i -k"
3131

32+
# This works around an issue where travis would timeout on master because
33+
# when make is run inside ctest no output is generated. At the current time
34+
# nobody know why, but at least this workaround gets travis results for master
35+
# back. Better approaches VERY welcome.
36+
if [[ ${TRAVIS_PULL_REQUEST} == "false" ]];
37+
then
38+
pushd build
39+
$CTEST_BUILD_COMMAND
40+
popd
41+
fi
42+
3243
python ${TRAVIS_BUILD_DIR}/.ci/travis/scripts/ctest2travis.py \
3344
xvfb-run ctest -V -E "$(cat ${DIR}/blacklist.txt | sed -r '/^(#.*?)?$/d' | paste -sd '|' -)" -S ${DIR}/../travis.ctest --output-on-failure

.ci/travis/macos/before_install.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,9 @@ brew install \
5252
spatialindex \
5353
fastcgi \
5454
qtkeychain \
55-
gnu-sed
55+
gnu-sed \
56+
libzip
5657

5758

58-
# Fix qscintilla typo
59-
wget https://gist.githubusercontent.com/m-kuhn/f70e4b160dd7b18eb8d637ed2a75df6d/raw/6eb8a0c8601ec52ad9ad41c01d0fad68fe967aa1/qsci.patch
60-
patch -p1 /usr/local/share/sip/QSci/qscilexer.sip qsci.patch
61-
6259
mkdir -p ${HOME}/Library/Python/3.6/lib/python/site-packages
6360
echo 'import site; site.addsitedir("/usr/local/opt/gdal2-python/lib/python3.6/site-packages")' >> ${HOME}/Library/Python/3.6/lib/python/site-packages/gdal2.pth

.ci/travis/macos/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ fcgi
3737
expat
3838
sqlite
3939
flex
40-
bison"
40+
bison
41+
libzip"
4142

4243
full_prefixes=""
4344
for p in ${prefixes}; do

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.*
2+
build*

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ tests/testdata/grass/wgs84/test/.gislock
6161
tests/testdata/grass/wgs84/test6/.gislock
6262
tests/testdata/grass/wgs84/test7/.gislock
6363
tests/testdata/*.aux.xml
64+
tests/testdata/landsat-int16-b1.tif.aux.xml
6465
tests/testdata/raster/*.aux.xml
6566
tests/testdata/raster/band1_byte_noct_epsg4326.tif.aux.xml
6667
tests/testdata/raster/band1_float32_noct_epsg4326.tif.aux.xml

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ MESSAGE(STATUS "QGIS version: ${COMPLETE_VERSION} ${RELEASE_NAME} (${QGIS_VERSIO
2121
#############################################################
2222
# CMake settings
2323

24-
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.6)
24+
CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)
2525

2626
SET(CMAKE_COLOR_MAKEFILE ON)
2727

@@ -581,7 +581,6 @@ IF (WITH_CORE)
581581
#hoops to escape compiler directives then
582582
IF(COMMAND cmake_policy)
583583
cmake_policy(SET CMP0003 NEW)
584-
cmake_policy(SET CMP0005 OLD)
585584
IF(NOT "${CMAKE_VERSION}" VERSION_LESS "3.3")
586585
cmake_policy(SET CMP0063 NEW)
587586
ENDIF(NOT "${CMAKE_VERSION}" VERSION_LESS "3.3")

0 commit comments

Comments
 (0)