From b7ee8cf4df0a5cd8294a7387ca7f5c9bd0db5b12 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 5 Oct 2017 08:06:59 -0400 Subject: [PATCH] Add .travis.yml --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .travis.yml 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