Skip to content
Permalink
Browse files

enable coverage in travis, debian builds and osgeo4w nightlies

  • Loading branch information
jef-n committed Jan 30, 2015
1 parent 843cf04 commit fe27b63576c948834d2781d304cff74cb611f039
Showing with 3 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 debian/rules
  3. +1 −0 ms-windows/osgeo4w/package-nightly.cmd
@@ -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
@@ -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 ^

0 comments on commit fe27b63

Please sign in to comment.
You can’t perform that action at this time.