Skip to content
Permalink
Browse files

[travis] Readonly ccache for pull requests

  • Loading branch information
m-kuhn committed Jun 6, 2016
1 parent c07f02d commit e0d6c3f3077fde1b9112e3739b4b31f162631e06
Showing with 10 additions and 0 deletions.
  1. +5 −0 ci/travis/linux/qt4/script.sh
  2. +5 −0 ci/travis/linux/qt5/script.sh
@@ -18,5 +18,10 @@ export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${PATH}
export LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
export CTEST_PARALLEL_LEVEL=1
export CCACHE_CPP2=yes
export CCACHE_TEMPDIR=/tmp
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
export CCACHE_READONLY=yes
chmod -R ugo-w ~/.ccache
fi

xvfb-run ctest -V -E 'qgis_openstreetmaptest|qgis_wcsprovidertest' -S ./qgis-test-travis.ctest --output-on-failure
@@ -17,6 +17,11 @@ export PYTHONPATH=${HOME}/osgeo4travis/lib/python3.3/site-packages/
export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${PATH}
export LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
export CTEST_PARALLEL_LEVEL=1
export CCACHE_TEMPDIR=/tmp
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
export CCACHE_READONLY=yes
chmod -R ugo-w ~/.ccache
fi

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

0 comments on commit e0d6c3f

Please sign in to comment.
You can’t perform that action at this time.