Give up and use sudo on OS X again

This commit is contained in:
Dan Buch 2016-05-30 12:44:41 -04:00
parent 9158c1189d
commit 586b49ded8
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

View File

@ -12,12 +12,15 @@ go:
- 1.6.2 - 1.6.2
- master - master
env: pip_install="pip install --user"
matrix: matrix:
allow_failures: allow_failures:
- go: master - go: master
include: include:
- go: 1.6.2 - go: 1.6.2
os: osx os: osx
env: pip_install="sudo pip install"
- go: 1.1.2 - go: 1.1.2
install: go get -v . install: go get -v .
before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION
@ -27,10 +30,7 @@ matrix:
before_script: before_script:
- go get github.com/urfave/gfmxr/... - go get github.com/urfave/gfmxr/...
- pip install --user flake8 - $pip_install flake8
- if [ -d ~/Library/Python ] ; then
export PATH=$PATH:$(dirname $(find ~/Library/Python -name flake8)) ;
fi
- mkdir -p .extracted-examples - mkdir -p .extracted-examples
- curl -sSL -o .extracted-examples/README.md - curl -sSL -o .extracted-examples/README.md
'https://raw.githubusercontent.com/urfave/cli/v1/README.md' 'https://raw.githubusercontent.com/urfave/cli/v1/README.md'