Merge pull request #492 from urfave/goimports-iff-available

Ignore failed goimports installs
This commit is contained in:
Dan Buch 2016-07-23 14:52:09 -04:00 committed by GitHub
commit 383ad23a88
3 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,7 @@ matrix:
before_script:
- go get github.com/urfave/gfmrun/...
- go get golang.org/x/tools/cmd/goimports
- go get golang.org/x/tools/cmd/goimports || true
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
npm install markdown-toc ;
fi

View File

@ -10,7 +10,6 @@ environment:
PYTHON: C:\Python27-x64
PYTHON_VERSION: 2.7.x
PYTHON_ARCH: 64
GFMXR_DEBUG: 1
install:
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%

View File

@ -71,7 +71,7 @@ def _toc():
def _gen():
go_version = check_output('go version'.split()).split()[2]
if go_version < 'go1.4':
if go_version < 'go1.5':
print('runtests: skip on {}'.format(go_version), file=sys.stderr)
return