Tests using PG11 and Postgis 2.5 (#1093)

This commit is contained in:
Mario de Frutos Dieguez
2019-04-10 13:06:39 +02:00
committed by GitHub
parent 9285764e31
commit 022e6a2f89
6 changed files with 109 additions and 11 deletions
+9 -1
View File
@@ -106,7 +106,15 @@ describe('named maps static view', function() {
}
getStaticMap(function(err, img) {
assert.ok(!err);
assert.imageIsSimilarToFile(img, previewFixture('estimated'), PNG_IMAGE_TOLERANCE, done);
assert.imageIsSimilarToFile(img, previewFixture('estimated'), PNG_IMAGE_TOLERANCE, err => {
if (err) {
assert.imageIsSimilarToFile(img, previewFixture('estimated-proj5'), PNG_IMAGE_TOLERANCE, done);
}
else
{
done();
}
});
});
});
});
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

-1
View File
@@ -13,7 +13,6 @@
PREPARE_REDIS=yes
PREPARE_PGSQL=yes
DOWNLOAD_SQL_FILES=yes
PG_PARALLEL=$(pg_config --version | (awk '{$2*=1000; if ($2 >= 9600) print 1; else print 0;}' 2> /dev/null || echo 0))
while [ -n "$1" ]; do
OPTION=$(echo "$1" | tr -d '[:space:]')