Merge pull request #492 from urfave/goimports-iff-available
Ignore failed goimports installs
This commit is contained in:
commit
383ad23a88
@ -23,7 +23,7 @@ matrix:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- go get github.com/urfave/gfmrun/...
|
- 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
|
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
|
||||||
npm install markdown-toc ;
|
npm install markdown-toc ;
|
||||||
fi
|
fi
|
||||||
|
@ -10,7 +10,6 @@ environment:
|
|||||||
PYTHON: C:\Python27-x64
|
PYTHON: C:\Python27-x64
|
||||||
PYTHON_VERSION: 2.7.x
|
PYTHON_VERSION: 2.7.x
|
||||||
PYTHON_ARCH: 64
|
PYTHON_ARCH: 64
|
||||||
GFMXR_DEBUG: 1
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
||||||
|
2
runtests
2
runtests
@ -71,7 +71,7 @@ def _toc():
|
|||||||
|
|
||||||
def _gen():
|
def _gen():
|
||||||
go_version = check_output('go version'.split()).split()[2]
|
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)
|
print('runtests: skip on {}'.format(go_version), file=sys.stderr)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user