44 Commits

Author SHA1 Message Date
elpaso
132fa0d25b re-enabled PyQgsServer, reverted setenv 2015-07-03 09:05:49 +02:00
Nyall Dawson
fd96cbd1da Disable PyQgsServer test on Travis until it is fixed 2015-07-02 20:57:49 +10:00
Salvatore Larosa
b6e059c655 [travis] add libqt4-sql-sqlite package
This commit fix the PyQgsAppStartup test which fails with c706513
because the QSQLITE driver was not found.
2015-06-19 23:24:44 +02:00
Matthias Kuhn
fd50ecd0e7 Revert "Be more verbose with debug info on travis"
This reverts commit 3d5de9ee2532c73010a502b13369e14a3036c896.

Runs unreliable on travis...
2015-06-16 15:47:03 +02:00
Matthias Kuhn
3d5de9ee25 Be more verbose with debug info on travis 2015-06-16 14:35:11 +02:00
Nyall Dawson
d7835b8e61 Enable PyQgsPalLabelingServer test on travis 2015-06-16 20:55:45 +10:00
Matthias Kuhn
038f99b505 Reduce warning noise and fix some doxymentation issues
Some warnings are wrapped in Q_NOWARN_DEPRECATED_*, these are warnings for
issues which are not critical and therefore of limited importance.

The general idea is to leave the space for compiler warnings to the one that
really need to be addressed.

Also removes a no longer required header file of dxflib.

Exposes some ready-to use doxymentation by wrapping it in appropriate comment
structure.

And some more cleanup
2015-06-15 18:42:27 +02:00
Matthias Kuhn
f1eb38059b Use ppa for newer doxygen 2015-06-15 18:37:38 +02:00
Matthias Kuhn
8c96454f4b Fix travis integration with gitter 2015-06-15 09:36:39 +02:00
Juergen E. Fischer
bbe2e2a536 run t2t 2015-06-15 00:17:10 +02:00
Tim Sutton
e2e6a1351f Add notification support for gitter when running tests on travis. 2015-06-14 22:02:33 +02:00
Matthias Kuhn
fb74722e99 Unify spatialite provider tests
And enable pyspatialite on travis
2015-05-27 17:38:50 +02:00
Juergen E. Fischer
4e14f8d62e fix 8050697 2015-05-25 12:58:23 +02:00
Juergen E. Fischer
8050697335 make postgres provider tests optional 2015-05-25 12:55:37 +02:00
Matthias Kuhn
2fe3f55775 Provider testing
* Test more operations
 * Include spatialite tests
2015-05-22 19:39:24 +02:00
Matthias Kuhn
ec9e1464c1 Provider test 2015-05-22 11:57:16 +02:00
Matthias Kuhn
a2ae8b4e38 Add unit tests for postgres provider
basically to get a framework to test the expression compiler
2015-05-22 11:57:16 +02:00
Matthias Kuhn
d0fea65863 Minimize installed travis dependencies 2015-04-24 14:55:47 +02:00
Nyall Dawson
e96b204b09 Fix failing pal labeling canvas test
Make sure image dpi respects mapsettings dpi in
QgsMapRendererSequentialJob.

Also apply a workaround to avoid segfault on end of test. This
workaround probably should be moved to QgsApplication::exitQgis()
but I'll do that after release in case of regressions.
2015-02-13 06:32:37 +11:00
Nyall Dawson
1a606358c0 "Fix" failing atlas composition tests
These failing tests are actually revealing an issue with the atlas
map API, which can't be fixed without a break.

This API will be replaced for QGIS3.0 or the layout refactor work.
2015-02-12 09:19:12 +11:00
Nyall Dawson
47488f280d Add unit test for API documentation coverage
This test checks that the coverage of the API docs does not drop
below a preset threshold (initially set at the current doc coverage)

If new members are added without documentation, then the coverage
will drop and this test will fail. Hopefully over time we can slowly
increase this threshold until documentation coverage reaches an
acceptable level.
2015-02-11 22:22:06 +11:00
Nyall Dawson
76927bb833 Use a newer cmake version for Travis builds to avoid Qt warnings 2015-02-10 18:51:40 +11:00
Juergen E. Fischer
c67e31d165 move travis notifications to #qgis-test 2015-02-07 18:41:00 +01:00
Nathan Woodrow
66091cadfd Remove travis notifications in IRC
Anyone who forks QGIS and has Travis will also send stuff to IRC which is annoying.
See https://github.com/travis-ci/travis-ci/issues/1094
2015-02-07 20:45:12 +10:00
Nyall Dawson
9ba8b29dfb Revert "Enable coverage reports for Travis builds"
This reverts commit 34d5394409cd39a7953bd169ffdc36a618641ce3.

    Gcc builds were too resource hungry and kept getting killed by
    Travis. Will keep investigating alternate approaches...
2015-02-02 08:05:59 +11:00
Juergen E. Fischer
fe27b63576 enable coverage in travis, debian builds and osgeo4w nightlies 2015-01-30 23:05:30 +01:00
Nyall Dawson
34d5394409 Enable coverage reports for Travis builds
Changes required:
- switch Travis builds to gcc, using O0 for build speed
- enable a debug build
- enable coverage report for ctest on Travis (sent to dash)
2015-01-28 14:36:48 +11:00
Matthias Kuhn
3752be6678 Make QwtPolar optional 2015-01-21 15:56:07 +01:00
Sandro Santilli
2ad2781cc8 Have travis build with model test enabled 2015-01-07 15:42:14 +01:00
Nyall Dawson
3a64b446e3 Temporarily disable atlas tests for travis 2014-12-12 06:20:38 +11:00
Matthias Kuhn
94a276e7c7 Revert "Let travis compile debug binaries so ASSERTS are also considered"
This reverts commit b1de41ca49d44eb5068d60c29f7960d363aadd75.

Led to unstable test results for no reason

See

https://travis-ci.org/qgis/QGIS/builds/42811273

Different results for the very same commit:
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=165433
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=165427
2014-12-03 02:20:33 +01:00
Matthias Kuhn
b1de41ca49 Let travis compile debug binaries so ASSERTS are also considered 2014-12-02 21:39:39 +01:00
Juergen E. Fischer
269d4d1fb4 travis: irc notification if build status changes 2014-11-29 17:14:52 +01:00
Juergen E. Fischer
6a1e1bb668 * fix server plugin build on windows
* move src/mapserver to src/server (IMHO better name and in sync with
  python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
Nyall Dawson
2ec4c2abd3 Regenerate incorrect test images and reenable atlas tests for travis 2014-11-25 06:13:19 +11:00
Juergen E. Fischer
fe7a0e57be travis: disable qgis_wcsprovidertest due to unreliable server 2014-11-22 13:16:33 +01:00
Matthias Kuhn
0a5c3cc8c6 Enable PyQgsSymbolLayerV2 test. Followup 5957b0a 2014-11-18 17:43:58 +01:00
Matthias Kuhn
66ffb2a0ae Run build within ctest script and add some information for the dashboard 2014-11-18 16:41:41 +01:00
Matthias Kuhn
b28cc1410b [travis] Do some steps in install step 2014-11-14 19:16:38 +01:00
Matthias Kuhn
4ff4394b35 [travis] Disable PyQgsPalLabelingServer tests for now 2014-11-14 19:16:36 +01:00
Matthias Kuhn
e4d3eaacb6 [travis] Disable SymbolLayerV2 test
There is a pull request to properly fix the issue. When this PR is dealt with
this test will be re-enabled.

https://github.com/qgis/QGIS/pull/1672
2014-11-14 19:15:59 +01:00
Matthias Kuhn
581815f841 Fix atlas tests
* Recreates composition for every test and therefore removes internal
   dependency
 * Reorders method calls to make the test pass
 * Disable the test until https://github.com/qgis/QGIS/pull/1688
2014-11-14 19:14:51 +01:00
Matthias Kuhn
fdde5905ca Exclude PyQgsPalLabelingCanvas test because of Segfault on test server
It seems that there is still a thread running when QgsApplication exits.

Error message:
QThreadStorage: Thread 0x16e29f0 exited after QThreadStorage 6 destroyed
2014-11-14 18:30:30 +01:00
Matthias Kuhn
35286613d2 Add .travis.yml for automated testing 2014-11-14 18:30:27 +01:00