<div dir="ltr"><div>Hi Olivier,</div><div><br></div><div>Maybe this helps. You can run build in debug mode in travis. I usually just make a private repo with a minimum script to run that said tests. Then you can ssh into the build.</div><div>But this doesn't work in windows type build.</div><div><br></div><div>One other workaround I can think of is to just send the output file somewhere.<br></div><div>When you run your travis job from your own repo, you can set the environment variable yourself. You can put secrets there in the environment in your repo's Travis settings (not in the repo, because the repo is public, I assume).</div><div>For example, in the past I have tried to put my docker credentials to push the built image and have it sent to docker hub with all necessary build output inside, so I can look it up later.<br></div><div>If you just need the output, maybe sending the files over ssh/rsync will do.<br></div><div><br></div><div>Regards,</div><div>-- <br></div><div>Rizky Maulana Nugraha</div><div>Kartoza<br></div><div><a href="mailto:rizky@kartoza.com">rizky@kartoza.com</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 29, 2020 at 10:06 PM Olivier Dalang <<a href="mailto:olivier.dalang@gmail.com">olivier.dalang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear list,<div><br></div><div>I'm struggling a little bit with tests using QgsMultiRenderChecker.</div><div><br></div><div>1/ Running the tests <b>on Windows</b>, I get some small rendering differences with fonts that make tests fail. I'm getting the warnings below, both with the font installed in my system or not. It seems to load the font with a different size (20.1429 instead of 20) and as normal instead of bold, which would explain why the test fail. Any idea why this happens, and how to fix it ?</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre-wrap"><div>..\src\core\qgsfontutils.cpp(311) : (QgsFontUtils::getStandardTestFont) [1372ms] Inexact font match - consider installing the QGIS Vera Sans font.</div><div>..\src\core\qgsfontutils.cpp(312) : (QgsFontUtils::getStandardTestFont) [0ms] Requested: QGIS Vera Sans,20,-1,5,75,0,0,0,0,0,Bold</div><div>..\src\core\qgsfontutils.cpp(314) : (QgsFontUtils::getStandardTestFont) [2ms] Replaced: QGIS Vera Sans,20.1429,47,5,75,0,0,0,0</div></div></div><br>2/ The QgsLayoutChecker tests outputs some HTML view of the failing tests, allowing for a nice comparison of expected vs rendered images. When I run the tests locally, I can redirect the output to a report.html file, then see it in the browser (rather hacky, as all the test output goes in the file, so it's not at all a proper html file, but it works).<div>Is it possible to somehow retrieve these results <b>from Travis </b>runs ? That would be very helpful to workaround 1/.</div><div><br></div><div>Thanks !!</div><div><br></div><div>Olivier</div><div><br><div><br></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>