2017-02-10 04:54:07 -06:00
|
|
|
language: go
|
|
|
|
go:
|
2018-07-17 09:58:32 -05:00
|
|
|
- 1.10.x
|
2018-09-04 12:20:30 -05:00
|
|
|
- 1.11.x
|
2017-11-14 08:58:27 -06:00
|
|
|
|
|
|
|
env:
|
|
|
|
- TEST_SUITE="lint"
|
|
|
|
- TEST_SUITE="unit-test"
|
|
|
|
- TEST_SUITE="integ-test"
|
2017-03-01 08:55:27 -06:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Use trusty for postgres 9.5 support
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: "9.5"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
2017-12-19 08:09:15 -06:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- .downloads
|
|
|
|
|
2017-02-10 04:54:07 -06:00
|
|
|
install:
|
|
|
|
- go get github.com/constabulary/gb/...
|
|
|
|
|
2017-02-20 11:13:59 -06:00
|
|
|
script:
|
2017-10-10 05:02:39 -05:00
|
|
|
- ./scripts/travis-test.sh
|
2017-02-10 04:54:07 -06:00
|
|
|
|
2017-12-19 08:09:15 -06:00
|
|
|
# we only need the latest git commit
|
|
|
|
git:
|
|
|
|
depth: 1
|