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

Ignore failed goimports installs
main
Dan Buch 8 years ago committed by GitHub
commit 383ad23a88

@ -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

@ -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%

@ -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

Loading…
Cancel
Save