2017-02-10 11:54:07 +01:00
|
|
|
language: go
|
|
|
|
go:
|
2017-05-18 12:38:09 +02:00
|
|
|
- 1.8
|
2017-11-14 15:58:27 +01:00
|
|
|
- 1.9
|
|
|
|
|
|
|
|
env:
|
|
|
|
- TEST_SUITE="lint"
|
|
|
|
- TEST_SUITE="unit-test"
|
|
|
|
- TEST_SUITE="integ-test"
|
2017-03-01 15:55:27 +01:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Use trusty for postgres 9.5 support
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: "9.5"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
2017-02-10 11:54:07 +01:00
|
|
|
install:
|
|
|
|
- go get github.com/constabulary/gb/...
|
|
|
|
|
2017-02-20 18:13:59 +01:00
|
|
|
script:
|
2017-10-10 12:02:39 +02:00
|
|
|
- ./scripts/travis-test.sh
|
2017-02-10 11:54:07 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtlZ2FuJTNBbWF0cml4Lm9yZy8lMjFhWmthbkFuV0VkeGNSSVFrV24lM0FtYXRyaXgub3Jn"
|
|
|
|
on_success: change # always|never|change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|