diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e5c9608 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: go + +go: + - "1.11.x" + - "1.12.x" +env: + global: + GO111MODULE=off + +before_install: + - go get github.com/axw/gocov/gocov + - go get github.com/mattn/goveralls + - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi +install: + - go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep '\.' | grep -v goldmark) +script: + - $HOME/gopath/bin/goveralls -service=travis-ci diff --git a/README.md b/README.md index 001ff50..f863db7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ goldmark ========================================== +![http://godoc.org/github.com/yuin/goldmark](https://godoc.org/github.com/yuin/goldmark?status.svg) +![https://travis-ci.org/yuin/goldmark](https://travis-ci.org/yuin/goldmark.svg) + > A markdown parser written in Go. Easy to extend, standard compliant, well structured. goldmark is compliant to CommonMark 0.29.