Make POSTGIS_VERSION detection automatic

This commit is contained in:
Raul Marin
2018-06-11 14:47:39 +02:00
parent 462d25bebc
commit 9bbbe9e7c1
9 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ const suites = [{
usePostGIS: false
}];
if (process.env.POSTGIS_VERSION === '2.4') {
if (process.env.POSTGIS_VERSION >= '20400') {
suites.push({
desc: 'mvt (postgis)',
usePostGIS: true