Make travis builds a bit faster (#382)

* travis: clone depth=1
* cache kafka download
This commit is contained in:
Richard van der Hoff 2017-12-19 14:09:15 +00:00 committed by GitHub
parent b64f8b5912
commit 7e2362cd2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View file

@ -19,9 +19,16 @@ addons:
services:
- postgresql
cache:
directories:
- .downloads
install:
- go get github.com/constabulary/gb/...
script:
- ./scripts/travis-test.sh
# we only need the latest git commit
git:
depth: 1