From b947c7893bd7a061e6133369d83d03c4d4fc6c80 Mon Sep 17 00:00:00 2001 From: FabianHofmann Date: Thu, 31 Oct 2019 18:21:11 +0100 Subject: [PATCH] travis mkdir resources if not existent --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b67409a1..20328f9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,10 @@ install: - sudo apt-get install -yq --no-install-recommends curl bzip2 xz-utils git ca-certificates coinor-cbc # download and extract data dependencies + - mkdir ./resources - curl -L "https://zenodo.org/record/3517921/files/pypsa-eur-tutorial-data-bundle.tar.xz" -o "./bundle.tar.xz" - curl -L "https://zenodo.org/record/3518020/files/pypsa-eur-tutorial-cutouts.tar.xz" -o "./cutouts.tar.xz" - - curl -L -N -s "https://zenodo.org/record/3518215/files/natura.tiff" -o "./resources/natura.tiff" + - curl -L "https://zenodo.org/record/3518215/files/natura.tiff" -o "./resources/natura.tiff" - tar xJf ./bundle.tar.xz -C ./data - tar xJf ./cutouts.tar.xz -C .