2013-07-20 16:02:10 +00:00
|
|
|
language: go
|
2015-06-11 05:27:57 +00:00
|
|
|
sudo: false
|
2017-08-03 19:07:56 +00:00
|
|
|
dist: trusty
|
2017-08-03 19:38:19 +00:00
|
|
|
osx_image: xcode8.3
|
2019-08-07 07:08:17 +00:00
|
|
|
go:
|
2019-08-07 08:20:04 +00:00
|
|
|
- 1.10.x
|
2019-08-07 07:08:17 +00:00
|
|
|
- 1.11.x
|
|
|
|
- 1.12.x
|
2017-08-03 19:38:19 +00:00
|
|
|
|
|
|
|
os:
|
2019-08-04 06:46:07 +00:00
|
|
|
- linux
|
|
|
|
- osx
|
2015-06-11 05:27:57 +00:00
|
|
|
|
2016-06-16 15:47:19 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
2019-08-04 06:46:07 +00:00
|
|
|
- node_modules
|
2016-06-16 15:47:19 +00:00
|
|
|
|
2016-04-27 15:38:49 +00:00
|
|
|
before_script:
|
2019-08-04 06:46:07 +00:00
|
|
|
- go get github.com/urfave/gfmrun/... || true
|
|
|
|
- go get golang.org/x/tools/cmd/goimports
|
|
|
|
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
|
2019-08-06 06:44:18 +00:00
|
|
|
npm install markdown-toc ;
|
2019-08-04 06:46:07 +00:00
|
|
|
fi
|
2016-04-27 15:38:49 +00:00
|
|
|
|
2014-07-14 17:48:52 +00:00
|
|
|
script:
|
2019-08-06 20:21:02 +00:00
|
|
|
- go run build.go vet
|
|
|
|
- go run build.go test
|
|
|
|
- go run build.go gfmrun
|
|
|
|
- go run build.go toc
|
2019-08-04 06:46:07 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|