Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Replace file / directory with variables

ZachTRice199be3ef3532
diff --git a/.travis.yml b/.travis.yml
index b7969f845..c4c4cebb1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,14 +47,14 @@ matrix:
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
- DIR="c:/GTK"
- - FILE="gtk.zip"
- - if [ ! -d "$FILE" ]; 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 "$DIR" ]; then mkdir c:/GTK; fi
- - unzip gtk.zip -d "c:/GTK"
+ - FILE="./temp/gtk.zip"
+ - if ! [ -f "$FILE" ]; then then curl -o $FILE "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 "$DIR" ]; then mkdir $DIR; fi
+ - unzip $FILE -d $DIR
cache:
directories:
- c:/GTK
- - gtk.zip
+ - ./temp
- $HOME/venv
- os: windows
language: node_js
@@ -69,14 +69,14 @@ matrix:
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
- DIR="c:/GTK"
- - FILE="gtk.zip"
- - if [ ! -d "$FILE" ]; 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 "$DIR" ]; then mkdir c:/GTK; fi
- - unzip gtk.zip -d "c:/GTK"
+ - FILE="./temp/gtk.zip"
+ - if ! [ -f "$FILE" ]; then then curl -o $FILE "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 "$DIR" ]; then mkdir $DIR; fi
+ - unzip $FILE -d $DIR
cache:
directories:
- c:/GTK
- - gtk.zip
+ - ./temp
- $HOME/venv
cache: