Skip to content

Commit

Permalink
Add CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
db47h committed May 27, 2020
1 parent 65cbefd commit 586698f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: go

go:
- 1.14
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# decimal

[![godocb]][godoc]
[![travisb]][travis]
[![coverb]][cover]
[![goreportb]][goreport]

Package decimal implements arbitrary-precision decimal floating-point arithmetic
for Go.
Expand Down Expand Up @@ -192,6 +195,12 @@ Any helpful insights are welcome.

[godoc]: https://pkg.go.dev/github.com/db47h/decimal?tab=doc
[godocb]: https://img.shields.io/badge/go.dev-reference-blue
[goreport]: https://goreportcard.com/report/github.com/db47h/decimal
[goreportb]: https://goreportcard.com/badge/github.com/db47h/decimal
[travis]: https://travis-ci.org/db47h/decimal
[travisb]: https://travis-ci.org/db47h/decimal.svg?branch=master
[cover]: https://coveralls.io/github/db47h/decimal?branch=master
[coverb]: https://coveralls.io/repos/github/db47h/decimal/badge.svg?branch=master
[eldecimal]: https://github.com/ericlagergren/decimal
[apd]: github.com/cockroachdb/apd
[spdec]: github.com/shopspring/decimal
Expand Down

0 comments on commit 586698f

Please sign in to comment.