2016-09-20 08:16:59 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
|
|
|
go:
|
2017-01-05 06:59:10 +00:00
|
|
|
- 1.2.x
|
|
|
|
- 1.3.x
|
|
|
|
- 1.4.2
|
|
|
|
- 1.5.x
|
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
2016-09-20 08:16:59 +00:00
|
|
|
- master
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: master
|
|
|
|
include:
|
2017-01-05 06:59:10 +00:00
|
|
|
- go: 1.6.x
|
|
|
|
os: osx
|
|
|
|
- go: 1.7.x
|
2016-09-20 08:16:59 +00:00
|
|
|
os: osx
|
|
|
|
|
|
|
|
before_script:
|
2017-01-05 06:59:10 +00:00
|
|
|
- go get github.com/urfave/gfmrun/... || true
|
|
|
|
- go get golang.org/x/tools/... || true
|
2016-09-20 08:16:59 +00:00
|
|
|
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
|
|
|
|
npm install markdown-toc ;
|
|
|
|
fi
|
|
|
|
|
|
|
|
script:
|
2017-01-05 06:59:10 +00:00
|
|
|
- ./runtests gen
|
2016-09-20 08:16:59 +00:00
|
|
|
- ./runtests vet
|
|
|
|
- ./runtests test
|
2017-01-05 06:59:10 +00:00
|
|
|
- ./runtests gfmrun
|
2016-09-20 08:16:59 +00:00
|
|
|
- ./runtests toc
|