Add dir with flake8 to path better-er

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

View File

@ -12,15 +12,12 @@ 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
@ -30,7 +27,10 @@ matrix:
before_script: before_script:
- go get github.com/urfave/gfmxr/... - go get github.com/urfave/gfmxr/...
- $PIP_INSTALL flake8 - pip install --user 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'