1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-11-22 11:30:05 -05:00
ofxgo/.travis.yml

30 lines
664 B
YAML
Raw Normal View History

2017-04-08 11:11:01 -04:00
language: go
2017-04-08 11:22:45 -04:00
os:
- linux
2017-04-08 11:11:01 -04:00
go:
2017-09-20 20:30:59 -04:00
- 1.9.x
2017-04-08 11:11:01 -04:00
- master
2017-04-08 11:22:45 -04:00
2017-11-18 06:08:30 -05:00
env:
- DEP_VERSION="0.3.2"
before_install:
# Fetch/build coverage reporting tools
2017-04-08 11:22:45 -04:00
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go install github.com/mattn/goveralls
2017-11-18 06:08:30 -05:00
# Download `dep` and ensure it's executable
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
install:
- dep ensure
script:
2017-04-08 11:22:45 -04:00
- go test -v -covermode=count -coverprofile=coverage.out
after_script:
2017-04-08 11:22:45 -04:00
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN