mirror of
https://github.com/carlostrub/sisyphus
synced 2024-10-31 09:20:15 +00:00
caching in travis
This commit is contained in:
parent
e281d27797
commit
56b22663c3
21
.travis.yml
21
.travis.yml
@ -4,18 +4,23 @@ go:
|
||||
- 1.9.x
|
||||
- master
|
||||
|
||||
#cache:
|
||||
# directories:
|
||||
# - $GOPATH/src
|
||||
# - $GOPATH/pkg
|
||||
# - vendor
|
||||
cache:
|
||||
directories:
|
||||
- $GOPATH/src/github.com/Masterminds/glide
|
||||
- $HOME/.glide/cache
|
||||
|
||||
install:
|
||||
- go get -u github.com/Masterminds/glide
|
||||
- cd $GOPATH/src/github.com/Masterminds/glide && go install && cd -
|
||||
- glide install
|
||||
- go get -u github.com/onsi/gomega
|
||||
- go get -u github.com/onsi/ginkgo/ginkgo
|
||||
- cd vendor/github.com/onsi/gomega && go install && cd -
|
||||
- cd vendor/github.com/onsi/ginkgo/ginkgo && go install && cd -
|
||||
|
||||
script:
|
||||
- ginkgo -r --randomizeAllSpecs --randomizeSuites
|
||||
- ginkgo -r --randomizeAllSpecs --randomizeSuites --race
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $GOPATH/src/github.com/Masterminds/glide
|
||||
- $HOME/.glide/cache
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user