File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -20,5 +20,9 @@ pushd ${HOME}
20
20
curl -L https://github.com/opengisch/osgeo4travis/archive/qt4bin.tar.gz | tar -xzC /home/travis --strip-components=1
21
21
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
22
22
23
+ # Download OTB package for Processing tests
24
+ 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
25
+
23
26
popd
27
+
24
28
pip install --user autopep8 nose2 pyyaml mock future
Original file line number Diff line number Diff line change 14
14
# ##########################################################################
15
15
16
16
export PYTHONPATH=${HOME} /osgeo4travis/lib/python2.7/site-packages/
17
- export PATH=${HOME} /osgeo4travis/bin:${HOME} /osgeo4travis/sbin:${PATH}
17
+ export PATH=${HOME} /osgeo4travis/bin:${HOME} /osgeo4travis/sbin:${HOME} /OTB-5.6.0-Linux64/bin: ${ PATH}
18
18
export LD_LIBRARY_PATH=${HOME} /osgeo4travis/lib
19
19
export CTEST_PARALLEL_LEVEL=1
20
20
export CCACHE_CPP2=yes
@@ -24,4 +24,7 @@ if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
24
24
chmod -R ugo-w ~ /.ccache
25
25
fi
26
26
27
+ # Set OTB application path (installed in before_install.sh script)
28
+ export OTB_APPLICATION_PATH=${HOME} /OTB-5.6.0-Linux64/lib/otb/applications
29
+
27
30
xvfb-run ctest -V -E ' qgis_filedownloader|qgis_openstreetmaptest|qgis_wcsprovidertest|qgis_ziplayertest|PyQgsDBManagerGpkg' -S ./qgis-test-travis.ctest --output-on-failure
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ pushd ${HOME}
26
26
27
27
curl -L https://github.com/opengisch/osgeo4travis/archive/qt5bin.tar.gz | tar -xzC /home/travis --strip-components=1
28
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
29
+
30
+ # 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
32
+
29
33
popd
30
34
31
35
pip install psycopg2 numpy nose2 pyyaml mock future
Original file line number Diff line number Diff line change 14
14
# ##########################################################################
15
15
16
16
export PYTHONPATH=${HOME} /osgeo4travis/lib/python3.3/site-packages/
17
- export PATH=${HOME} /osgeo4travis/bin:${HOME} /osgeo4travis/sbin:${PATH}
17
+ export PATH=${HOME} /osgeo4travis/bin:${HOME} /osgeo4travis/sbin:${HOME} /OTB-5.6.0-Linux64/bin: ${ PATH}
18
18
export LD_LIBRARY_PATH=${HOME} /osgeo4travis/lib
19
19
export CTEST_PARALLEL_LEVEL=1
20
20
export CCACHE_TEMPDIR=/tmp
25
25
26
26
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
27
27
28
+ # Set OTB application path (installed in before_install.sh script)
29
+ export OTB_APPLICATION_PATH=${HOME} /OTB-5.6.0-Linux64/lib/otb/applications
30
+
28
31
xvfb-run ctest -V -E " qgis_filedownloader|qgis_openstreetmaptest|qgis_wcsprovidertest|qgis_ziplayertest|qgis_ogcutilstest|$( cat ${DIR} /blacklist.txt | paste -sd ' |' -) " -S ./qgis-test-travis.ctest --output-on-failure
29
32
# xvfb-run ctest -V -E "qgis_openstreetmaptest|qgis_wcsprovidertest" -S ./qgis-test-travis.ctest --output-on-failure
You can’t perform that action at this time.
0 commit comments