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