2013-07-20 16:02:10 +00:00
|
|
|
language: go
|
2015-06-11 05:27:57 +00:00
|
|
|
sudo: false
|
2019-09-09 02:49:06 +00:00
|
|
|
dist: bionic
|
|
|
|
osx_image: xcode10
|
2019-08-07 07:08:17 +00:00
|
|
|
go:
|
|
|
|
- 1.11.x
|
|
|
|
- 1.12.x
|
2019-09-09 02:49:06 +00:00
|
|
|
- 1.13.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
|
|
|
|
2019-09-09 02:49:06 +00:00
|
|
|
env:
|
|
|
|
GO111MODULE=on
|
2019-09-09 07:45:47 +00:00
|
|
|
GOPROXY=https://proxy.golang.org
|
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-09-09 02:53:04 +00:00
|
|
|
- go get github.com/urfave/gfmrun/cmd/gfmrun
|
2019-08-04 06:46:07 +00:00
|
|
|
- go get golang.org/x/tools/cmd/goimports
|
2019-09-09 02:49:06 +00:00
|
|
|
- npm install markdown-toc
|
2019-09-09 03:07:16 +00:00
|
|
|
- go mod tidy
|
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)
|