Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build GMT on TravisCI #5

Merged
merged 15 commits into from
Aug 13, 2018
Prev Previous commit
Next Next commit
Update coastline data and ftp links
  • Loading branch information
leouieda committed Aug 13, 2018
commit 0b47ff6b2c8740e86bba5f6ecb603fe06c64b541
12 changes: 5 additions & 7 deletions ci/travis-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,25 @@ fi

# Get the coastlines and country polygons
EXT="tar.gz"
GSHHG="gshhg-gmt-2.3.6"
DCW="dcw-gmt-1.1.2"
GSHHG="gshhg-gmt-2.3.7"
DCW="dcw-gmt-1.1.4"

echo ""
echo "Creating folder $COASTLINEDIR for the coastline and coutry data."
echo ""
mkdir $INSTALLDIR
mkdir $COASTLINEDIR

# GSHHG (coastlines, rivers, and political boundaries):
echo ""
echo "Downloading and unpacking GSHHG"
echo "================================================================================"
curl "ftp:https://ftp.iag.usp.br/pub/gmt/$GSHHG.$EXT" > $GSHHG.$EXT
curl "ftp:https://ftp.soest.hawaii.edu/gmt/$GSHHG.$EXT" > $GSHHG.$EXT
tar xzf $GSHHG.$EXT
cp $GSHHG/* $COASTLINEDIR/

# DCW (country polygons):
echo ""
echo "Downloading and unpacking DCW"
echo "================================================================================"
curl "ftp:https://ftp.soest.hawaii.edu/dcw/$DCW.$EXT" > $DCW.$EXT
curl "ftp:https://ftp.soest.hawaii.edu/gmt/$DCW.$EXT" > $DCW.$EXT
tar xzf $DCW.$EXT
cp $DCW/* $COASTLINEDIR

Expand Down