diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-28 16:16:22 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-28 17:07:49 +0100 |
| commit | 6de85e3690dab9377205adb2678aa4555a342b3c (patch) | |
| tree | b0efc83d23c58e9f58cd64a1e2735ce6fa4581b5 /.travis.yml | |
| parent | 324311619cf94ed024526b160282d9ae0d5a9e37 (diff) | |
| download | PROJ-data-6de85e3690dab9377205adb2678aa4555a342b3c.tar.gz PROJ-data-6de85e3690dab9377205adb2678aa4555a342b3c.zip | |
Add grid_tools/
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3f6a03f..a7bdbd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,23 @@ sudo: required git: lfs_skip_smudge: true +services: + - docker + before_install: - sudo apt-get update - - sudo apt-get install cmake make zip unzip + - sudo apt-get install cmake make zip unzip pyflakes3 wget install: + - cd grid_tools + - pyflakes3 *.py + - wget https://github.com/OSGeo/proj-datumgrid/raw/master/north-america/ntv2_0.gsb + - docker run --rm -v /home:/home osgeo/gdal:alpine-normal-latest python3 $PWD/ntv2_to_gtiff.py --copyright "Derived from work by Natural Resources Canada. Open Government Licence - Canada" --source-crs EPSG:4267 --target-crs EPSG:4269 $PWD/ntv2_0.gsb $PWD/ca_nrc_ntv2_0.tif + - docker run --rm -v /home:/home osgeo/gdal:alpine-normal-latest python3 $PWD/check_gtiff_grid.py $PWD/ca_nrc_ntv2_0.tif + - wget https://github.com/OSGeo/proj-datumgrid/raw/master/egm96_15.gtx + - docker run --rm -v /home:/home osgeo/gdal:alpine-normal-latest python3 $PWD/vertoffset_grid_to_gtiff.py --type GEOGRAPHIC_TO_VERTICAL --source-crs EPSG:4326 --target-crs EPSG:5773 --copyright "Public Domain. Derived from work from NGA" $PWD/egm96_15.gtx $PWD/us_nga_egm96_15.tif + - docker run --rm -v /home:/home osgeo/gdal:alpine-normal-latest python3 $PWD/check_gtiff_grid.py $PWD/us_nga_egm96_15.tif + - cd .. # Travis build directory includes /build/, which is a pattern we exclude # in our 'make dist' target... - (cd ..; mv PROJ-data /tmp) |
