summaryrefslogtreecommitdiff
path: root/travis/test.sh
blob: 990a635ec11f9a4427cee51e41f53893ed837d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -eu

rm -rf build_travis
mkdir build_travis
cd build_travis
cmake ..
make dist
cd ..

unzip -l  build_travis/proj-datumgrid*.zip | tail -n +4 | head -n -2 | awk '{print $4}' | sort > /tmp/got_main.lst
if ! diff -u travis/expected_main.lst /tmp/got_main.lst; then
    echo "Got difference in proj-datumgrid-geotiff"
    exit 1;
fi