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