mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
enable coverage in travis, debian builds and osgeo4w nightlies
This commit is contained in:
parent
843cf04920
commit
fe27b63576
@ -18,7 +18,7 @@ before_install:
|
||||
install:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -DWITH_SERVER=ON -DWITH_STAGED_PLUGINS=OFF -DWITH_GRASS=OFF -DENABLE_COVERAGE=ON.. \
|
||||
- cmake -DWITH_SERVER=ON -DWITH_STAGED_PLUGINS=OFF -DWITH_GRASS=OFF -DENABLE_COVERAGE=ON \
|
||||
-DSUPPRESS_QT_WARNINGS=ON -DENABLE_MODELTEST=ON -DWITH_QWTPOLAR=OFF ..
|
||||
|
||||
script: xvfb-run ctest -V -E 'Atlas|atlas|PyQgsPalLabelingCanvas|PyQgsPalLabelingServer|qgis_wcsprovidertest' -S ../qgis-test-travis.ctest --output-on-failure
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -97,7 +97,7 @@ endif
|
||||
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
CMAKE_OPTS += -DENABLE_TESTS=FALSE
|
||||
else
|
||||
CMAKE_OPTS += -DENABLE_TESTS=TRUE
|
||||
CMAKE_OPTS += -DENABLE_TESTS=TRUE -DENABLE_COVERAGE=TRUE
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"wheezy jessie trusty sid sid-oracle"))
|
||||
|
@ -151,6 +151,7 @@ cmake %CMAKE_OPT% ^
|
||||
-D WITH_ORACLE=TRUE ^
|
||||
-D WITH_GRASS=TRUE ^
|
||||
-D WITH_CUSTOM_WIDGETS=TRUE ^
|
||||
-D ENABLE_COVERAGE=TRUE ^
|
||||
-D CMAKE_BUILD_TYPE=%BUILDCONF% ^
|
||||
-D CMAKE_CONFIGURATION_TYPES=%BUILDCONF% ^
|
||||
-D GEOS_LIBRARY=%O4W_ROOT%/lib/geos_c.lib ^
|
||||
|
Loading…
x
Reference in New Issue
Block a user