Change the owner of the TRAVIS_BUILD_DIR to match the UID in the container. Fixes #2586

This commit is contained in:
wiredfool 2017-06-21 12:42:19 -07:00
parent 014be86cf4
commit 7e3883406e

View File

@ -48,6 +48,8 @@ script:
if [ "$DOCKER" == "" ]; then
.travis/script.sh
else
# the Pillow user in the docker container is UID 1000
sudo chown -R 1000 $TRAVIS_BUILD_DIR
docker run -v $TRAVIS_BUILD_DIR:/Pillow pythonpillow/$DOCKER
fi