mirror of
https://github.com/aclindsa/ofxgo.git
synced 2024-11-22 03:30:04 -05:00
.travis.yml: Add dep ensure
This commit is contained in:
parent
ddc674b287
commit
977dacfbbd
14
.travis.yml
14
.travis.yml
@ -7,10 +7,22 @@ go:
|
|||||||
- 1.9.x
|
- 1.9.x
|
||||||
- master
|
- 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 golang.org/x/tools/cmd/cover
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
- go install 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
|
- go test -v -covermode=count -coverprofile=coverage.out
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user