Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[travis] Parallelize dependency bootstrapping
  • Loading branch information
m-kuhn committed Mar 4, 2017
1 parent e5de32d commit bf24aa5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/travis/linux/before_install.sh
Expand Up @@ -22,7 +22,10 @@
pushd ${HOME}

# fetching data from github should be just as fast as S3
curl -L https://github.com/opengisch/osgeo4travis/archive/qt5bin.tar.gz | tar -xzC /home/travis --strip-components=1
curl -L https://github.com/opengisch/osgeo4travis/archive/qt5bin.tar.gz | tar --strip-components=1 -xz -C /home/travis &
SETUP_OSGEO4W_PID=$!

mkdir /home/travis/osgeo4travis

# other dependencies live in a cached folder
pushd depcache
Expand All @@ -34,6 +37,8 @@ tar --strip-components=1 -zx -f cmake-3.5.0-Linux-x86_64.tar.gz -C /home/travis/
[[ -f OTB-5.6.0-Linux64.run ]] || curl -O https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-5.6.0-Linux64.run
sh ./OTB-5.6.0-Linux64.run

wait $SETUP_OSGEO4W_PID

popd
popd

Expand Down

0 comments on commit bf24aa5

Please sign in to comment.