travis.yml: chown /usr/local.

This commit is contained in:
Mike McQuaid 2015-11-29 16:19:55 +00:00
parent c0f33d650f
commit 2fea571863

View File

@ -20,6 +20,7 @@ before_install:
- cd /usr/local
- sudo rm -rf /usr/local/.git/refs /usr/local/.git/packed-refs
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
- sudo chown -R $USER /usr/local
- export TRAVIS_BUILD_DIR="/usr/local"
- if [ -f ".git/shallow" ]; then
travis_retry git fetch --unshallow;