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 - 1.9.x
- master - master
#cache: cache:
# directories: directories:
# - $GOPATH/src - $GOPATH/src/github.com/Masterminds/glide
# - $GOPATH/pkg - $HOME/.glide/cache
# - vendor
install: install:
- go get -u github.com/Masterminds/glide - go get -u github.com/Masterminds/glide
- cd $GOPATH/src/github.com/Masterminds/glide && go install && cd - - cd $GOPATH/src/github.com/Masterminds/glide && go install && cd -
- glide install - glide install
- go get -u github.com/onsi/gomega - cd vendor/github.com/onsi/gomega && go install && cd -
- go get -u github.com/onsi/ginkgo/ginkgo - cd vendor/github.com/onsi/ginkgo/ginkgo && go install && cd -
script: script:
- ginkgo -r --randomizeAllSpecs --randomizeSuites - ginkgo -r --randomizeAllSpecs --randomizeSuites --race
cache:
directories:
- $GOPATH/src/github.com/Masterminds/glide
- $HOME/.glide/cache