File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ pushd ${HOME}
2626
2727curl -L https://github.com/opengisch/osgeo4travis/archive/qt5bin.tar.gz | tar -xzC /home/travis --strip-components=1
2828curl -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+
2933popd
3034
3135pip install psycopg2 numpy nose2 pyyaml mock future termcolor
Original file line number Diff line number Diff line change 1414# ##########################################################################
1515
1616export 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}
1818export LD_LIBRARY_PATH=${HOME} /osgeo4travis/lib
1919export CTEST_PARALLEL_LEVEL=1
2020export CCACHE_TEMPDIR=/tmp
2121
2222DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
2323
24+ # Set OTB application path (installed in before_install.sh script)
25+ export OTB_APPLICATION_PATH=${HOME} /OTB-5.6.0-Linux64/lib/otb/applications
26+
2427xvfb-run ctest -V -E " qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsWFSProviderGUI|qgis_ziplayertest|$( cat ${DIR} /blacklist.txt | paste -sd ' |' -) " -S ./qgis-test-travis.ctest --output-on-failure
2528# 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