commit
924956d859
@ -27,7 +27,7 @@ matrix:
|
|||||||
before_script:
|
before_script:
|
||||||
- $pip_install flake8
|
- $pip_install flake8
|
||||||
- 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
|
||||||
|
2
runtests
2
runtests
@ -107,7 +107,7 @@ def _toc():
|
|||||||
@_target
|
@_target
|
||||||
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