diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1d7f3e2 --- /dev/null +++ b/.travis.yml @@ -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