File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -18,5 +18,10 @@ export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${PATH}
18
18
export LD_LIBRARY_PATH=${HOME} /osgeo4travis/lib
19
19
export CTEST_PARALLEL_LEVEL=1
20
20
export CCACHE_CPP2=yes
21
+ export CCACHE_TEMPDIR=/tmp
22
+ if [ " ${TRAVIS_PULL_REQUEST} " != " false" ]; then
23
+ export CCACHE_READONLY=yes
24
+ chmod -R ugo-w ~ /.ccache
25
+ fi
21
26
22
27
xvfb-run ctest -V -E ' qgis_openstreetmaptest|qgis_wcsprovidertest' -S ./qgis-test-travis.ctest --output-on-failure
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ export PYTHONPATH=${HOME}/osgeo4travis/lib/python3.3/site-packages/
17
17
export PATH=${HOME} /osgeo4travis/bin:${HOME} /osgeo4travis/sbin:${PATH}
18
18
export LD_LIBRARY_PATH=${HOME} /osgeo4travis/lib
19
19
export CTEST_PARALLEL_LEVEL=1
20
+ export CCACHE_TEMPDIR=/tmp
21
+ if [ " ${TRAVIS_PULL_REQUEST} " != " false" ]; then
22
+ export CCACHE_READONLY=yes
23
+ chmod -R ugo-w ~ /.ccache
24
+ fi
20
25
21
26
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
22
27
You can’t perform that action at this time.
0 commit comments