Skip to content

Commit 4a71a9f

Browse files
committed
ci: cartopy: overwrite
1 parent 88a10df commit 4a71a9f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,13 @@ commands:
9191
DEBIAN_FRONTEND=noninteractive apt-get install -y unzip wget
9292
source activate opendrift
9393
94-
mkdir -p /root/.local/share/cartopy/shapefiles/gshhs
95-
cd /root/.local/share/cartopy/shapefiles/gshhs
94+
mkdir -p /root/.local/share/cartopy/shapefiles/
95+
cd /root/.local/share/cartopy/shapefiles/
96+
rm -f gshhg-shp-2.3.7.zip
97+
rm -rf gshhs
9698
wget https://github.com/GenericMappingTools/gshhg-gmt/releases/download/2.3.7/gshhg-shp-2.3.7.zip
97-
unzip gshhg-shp-2.3.7.zip
98-
mv GSHHS_shp/* .
99+
unzip -o gshhg-shp-2.3.7.zip
100+
mv GSHHS_shp gshhs
99101
100102
python -c "import cartopy; list(map(cartopy.io.shapereader.gshhs, ('c', 'l', 'i', 'h', 'f')))"
101103
python -c "import cartopy; cartopy.io.shapereader.natural_earth(resolution='110m', category='cultural', name='admin_0_countries')"

0 commit comments

Comments
 (0)