diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-07-06 17:38:10 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-07-08 00:05:01 +0200 |
| commit | d44e1e268c5da846455d3f73f94a283e80340b6c (patch) | |
| tree | ce1941e7e5fde09e7f1fcaaa13f1f8d81ca2f066 /travis/install.sh | |
| parent | 076e62a9357e819a0c13b3fb1915c29a2b3c98d5 (diff) | |
| download | PROJ-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-x | travis/install.sh | 6 |
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 |
