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
|
2018-10-19 01:00:02 +00:00
|
|
|
go: 1.11.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:56:48 +00:00
|
|
|
- go get github.com/shurcooL/vfsgen || true
|
|
|
|
- go get github.com/shurcooL/httpfs/union || true
|
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-04 14:36:44 +00:00
|
|
|
- go run build/build.go generate
|
|
|
|
- go run build/build.go vet
|
|
|
|
- go run build/build.go test
|
|
|
|
- go run build/build.go gfmrun
|
|
|
|
- go run build/build.go toc
|
2019-08-04 06:46:07 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|