Skip to content

Commit bf24aa5

Browse files
committedMar 4, 2017
[travis] Parallelize dependency bootstrapping
1 parent e5de32d commit bf24aa5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎ci/travis/linux/before_install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
pushd ${HOME}
2323

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

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

40+
wait $SETUP_OSGEO4W_PID
41+
3742
popd
3843
popd
3944

0 commit comments

Comments
 (0)
Please sign in to comment.