travis.yml: check /usr/local permissions.
This commit is contained in:
parent
43f3ba9caa
commit
a782406cc3
@ -17,6 +17,7 @@ matrix:
|
|||||||
before_install:
|
before_install:
|
||||||
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
|
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
|
||||||
- export TRAVIS_BUILD_DIR="/usr/local"
|
- export TRAVIS_BUILD_DIR="/usr/local"
|
||||||
|
- sudo chown -R $USER /usr/local
|
||||||
- cd /usr/local
|
- cd /usr/local
|
||||||
- if [ -f ".git/shallow" ]; then git fetch --unshallow; fi
|
- if [ -f ".git/shallow" ]; then git fetch --unshallow; fi
|
||||||
- git reset --hard $TRAVIS_COMMIT
|
- git reset --hard $TRAVIS_COMMIT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user