aboutsummaryrefslogtreecommitdiff
path: root/travis/install.sh
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-07-06 17:38:10 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-07-08 00:05:01 +0200
commitd44e1e268c5da846455d3f73f94a283e80340b6c (patch)
treece1941e7e5fde09e7f1fcaaa13f1f8d81ca2f066 /travis/install.sh
parent076e62a9357e819a0c13b3fb1915c29a2b3c98d5 (diff)
downloadPROJ-d44e1e268c5da846455d3f73f94a283e80340b6c.tar.gz
PROJ-d44e1e268c5da846455d3f73f94a283e80340b6c.zip
Travis: add testing of JSON output against schema and upgrade everything to Python3
Diffstat (limited to 'travis/install.sh')
-rwxr-xr-xtravis/install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/travis/install.sh b/travis/install.sh
index d0bc3743..bc6100da 100755
--- a/travis/install.sh
+++ b/travis/install.sh
@@ -51,6 +51,12 @@ fi
make check
make install
find /tmp/proj_autoconf_install_from_dist_all
+
+/tmp/proj_autoconf_install_from_dist_all/bin/projinfo EPSG:32631 -o JSON -q > out.json
+cat out.json
+echo "Validating JSON"
+jsonschema -i out.json /tmp/proj_autoconf_install_from_dist_all/share/proj/crsjson.schema.json && echo "Valid !"
+
cd ..
# cmake build from generated tarball