travis.yml: check /usr/local permissions.

This commit is contained in:
Mike McQuaid 2015-09-22 09:08:37 +01:00 committed by Xu Cheng
parent 43f3ba9caa
commit a782406cc3

View File

@ -17,6 +17,7 @@ matrix:
before_install:
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
- export TRAVIS_BUILD_DIR="/usr/local"
- sudo chown -R $USER /usr/local
- cd /usr/local
- if [ -f ".git/shallow" ]; then git fetch --unshallow; fi
- git reset --hard $TRAVIS_COMMIT