Skip to content

Commit

Permalink
attempt to stop using sudo with Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nihlaeth committed Feb 26, 2017
1 parent b9a0585 commit 69de24d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: python
sudo: required
python:
- '2.7'
- '3.3'
Expand Down
4 changes: 2 additions & 2 deletions scripts/pypi_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ _EOF_
twine upload -r ${TWINE_REPOSITORY} dist/*

# reset ownership so that we can stop using sudo
sudo chown --changes --recursive $(whoami):$(id --group $(whoami)) .
sudo chown --changes $(whoami):$(id --group $(whoami)) ~/.pypirc
# sudo chown --changes --recursive $(whoami):$(id --group $(whoami)) .
# sudo chown --changes $(whoami):$(id --group $(whoami)) ~/.pypirc

0 comments on commit 69de24d

Please sign in to comment.