mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
7e2362cd2e
* travis: clone depth=1 * cache kafka download
34 lines
414 B
YAML
34 lines
414 B
YAML
language: go
|
|
go:
|
|
- 1.8.x
|
|
- 1.9.x
|
|
|
|
env:
|
|
- TEST_SUITE="lint"
|
|
- TEST_SUITE="unit-test"
|
|
- TEST_SUITE="integ-test"
|
|
|
|
sudo: false
|
|
|
|
# Use trusty for postgres 9.5 support
|
|
dist: trusty
|
|
|
|
addons:
|
|
postgresql: "9.5"
|
|
|
|
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
|