File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ matrix:
14
14
apt : true
15
15
directories :
16
16
- $HOME/.ccache
17
+ - $HOME/depcache
17
18
timeout : 1000
18
19
compiler : clang
19
20
python : " 3.3"
Original file line number Diff line number Diff line change 13
13
# #
14
14
# ##########################################################################
15
15
16
- export DEBIAN_FRONTEND=noninteractive
17
- export CORES=2
18
-
19
16
# #################################################
20
17
#
21
18
# Get precompiled dependencies
@@ -24,12 +21,20 @@ export CORES=2
24
21
25
22
pushd ${HOME}
26
23
24
+ # fetching data from github should be just as fast as S3
27
25
curl -L https://github.com/opengisch/osgeo4travis/archive/qt5bin.tar.gz | tar -xzC /home/travis --strip-components=1
28
- curl -L https://cmake.org/files/v3.5/cmake-3.5.0-Linux-x86_64.tar.gz | tar --strip-components=1 -zxC /home/travis/osgeo4travis
26
+
27
+ # other dependencies live in a cached folder
28
+ pushd depcache
29
+ # Download newer version of cmake than in the repository
30
+ [[ -f cmake-3.5.0-Linux-x86_64.tar.gz ]] || curl -O https://cmake.org/files/v3.5/cmake-3.5.0-Linux-x86_64.tar.gz
31
+ tar --strip-components=1 -zx -f cmake-3.5.0-Linux-x86_64.tar.gz -C /home/travis/osgeo4travis
29
32
30
33
# Download OTB package for Processing tests
31
- wget https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-5.6.0-Linux64.run -O /home/travis/OTB-5.6.0-Linux64.run && sh /home/travis/OTB-5.6.0-Linux64.run
34
+ [[ -f OTB-5.6.0-Linux64.run ]] || curl -O https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-5.6.0-Linux64.run
35
+ sh ./OTB-5.6.0-Linux64.run
32
36
37
+ popd
33
38
popd
34
39
35
40
pip install psycopg2 numpy nose2 pyyaml mock future termcolor
You can’t perform that action at this time.
0 commit comments