Skip to content

Commit

Permalink
travis: 3.3 on osx works with sudo, do linux tests with fakeroot
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Aug 7, 2015
1 parent 48c78cd commit 08a33a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ matrix:
os: osx
osx_image: beta-xcode6.3
env: TOXENV=py33
- language: generic
os: osx
osx_image: beta-xcode6.3
env: TOXENV=py34

install:
- ./.travis/install.sh
Expand Down
7 changes: 6 additions & 1 deletion .travis/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
fi
fi
source ~/.venv/bin/activate
sudo tox
if [[ "$(uname -s)" == "Darwin" ]]; then
# no fakeroot on OS X
sudo tox
else
fakeroot -u tox
fi

0 comments on commit 08a33a1

Please sign in to comment.