1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-25 23:23:21 -05:00

Add .travis.yml

This commit is contained in:
Aaron Lindsay 2017-10-05 08:06:59 -04:00
parent e0ce1576cd
commit b7ee8cf4df

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: go
os:
- linux
go:
- 1.9.x
- master
script:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go install github.com/mattn/goveralls
- go get -d github.com/aclindsa/moneygo
- touch $GOPATH/src/github.com/aclindsa/moneygo/internal/handlers/cusip_list.csv
- go generate -v github.com/aclindsa/moneygo/internal/handlers
- go test -v -covermode=count -coverprofile=coverage.out github.com/aclindsa/moneygo/internal/handlers
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN