Merge branch 'master' into remove-end-user-deprecation-warnings

This commit is contained in:
Dan Buch 2016-08-22 17:49:40 -04:00 committed by GitHub
commit 2506863832
2 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@ matrix:
os: osx os: osx
before_script: before_script:
- go get github.com/urfave/gfmrun/... - go get github.com/urfave/gfmrun/... || true
- go get golang.org/x/tools/... || true - go get golang.org/x/tools/... || 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 ;

View File

@ -57,6 +57,10 @@ def _test():
def _gfmrun(): def _gfmrun():
go_version = check_output('go version'.split()).split()[2]
if go_version < 'go1.3':
print('runtests: skip on {}'.format(go_version), file=sys.stderr)
return
_run(['gfmrun', '-c', str(_gfmrun_count()), '-s', 'README.md']) _run(['gfmrun', '-c', str(_gfmrun_count()), '-s', 'README.md'])