2
0
mirror of https://github.com/carlostrub/sisyphus synced 2024-10-31 09:20:15 +00:00

caching in travis

This commit is contained in:
Carlo Strub 2017-09-16 22:55:56 +02:00
parent e281d27797
commit 56b22663c3

View File

@ -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