On Wed, Nov 18, 2015 at 09:05:00AM -0800, Tom Chadwin wrote: > What is the default canvas size when QGIS is invoked in Travis - in other > words, when QGIS is run for the first time after installation on Ubuntu? I > have tests for qgis2web, but if I do: > > mapCanvas().setExtent(layer.extent()) > > I get different values for the bounds of the canvas extent in the Travis > test compared to my workstation. The test is invoked with the following > screen size: > > xvfb-run --server-args="-screen 0, 1024x768x24" > > So, how can I match my desktop environment to get the same canvas bounds > that Travis gets?
Good question ! The script run by travis is: ci/travis/linux/script.sh There's no specification of server-args there. I think it would be great if "make check" could do a predictable thing on all systems. Or at least start doing some more, as per http://hub.qgis.org/issues/12172 --strk; _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
