1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-12-26 06:53:21 -05:00

.travis.yml: Add dep ensure

This commit is contained in:
Aaron Lindsay 2017-11-18 06:08:30 -05:00
parent ddc674b287
commit 977dacfbbd

View File

@ -7,10 +7,22 @@ go:
- 1.9.x
- master
script:
env:
- DEP_VERSION="0.3.2"
before_install:
# Fetch/build coverage reporting tools
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go install github.com/mattn/goveralls
# 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:
- go test -v -covermode=count -coverprofile=coverage.out
after_script: