Interactive interface for browsing global, full-resolution satellite imagery
Check for GTK directory before downloading and inflating
ZachTRiceea712daa0f12
diff --git a/.travis.yml b/.travis.ymlindex a831b0d75..733d357ae 100644--- a/.travis.yml+++ b/.travis.yml@@ -46,10 +46,11 @@ matrix:- pip install virtualenv- virtualenv $HOME/venv- source $HOME/venv/Scripts/activate- - curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L- - mkdir c:/GTK- - unzip gtk.zip -d "c:/GTK"- - rm -f gtk.zip+ - DIRECTORY="c:/GTK"+ - if [ ! -d "$DIRECTORY" ]; then curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L; fi+ - if [ ! -d "$DIRECTORY" ]; then mkdir c:/GTK; fi+ - if [ ! -d "$DIRECTORY" ]; then unzip gtk.zip -d "c:/GTK"; fi+ - if [ ! -d "$DIRECTORY" ]; then rm -f gtk.zip; ficache:directories:- c:/GTK@@ -66,10 +67,11 @@ matrix:- pip install virtualenv- virtualenv $HOME/venv- source $HOME/venv/Scripts/activate- - curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L- - mkdir c:/GTK- - unzip gtk.zip -d "c:/GTK"- - rm -f gtk.zip+ - DIRECTORY="c:/GTK"+ - if [ ! -d "$DIRECTORY" ]; then curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L; fi+ - if [ ! -d "$DIRECTORY" ]; then mkdir c:/GTK; fi+ - if [ ! -d "$DIRECTORY" ]; then unzip gtk.zip -d "c:/GTK"; fi+ - if [ ! -d "$DIRECTORY" ]; then rm -f gtk.zip; ficache:directories:- c:/GTK