Ignore failed goimports installs

since we only use it with go versions >= 1.5 anyway
This commit is contained in:
Dan Buch 2016-07-23 14:39:14 -04:00
parent 11c134509d
commit 8d4b6abc2b
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
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