aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 0d6a22b7e5837dbd2941ea7a3e5567678b0dc001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: go
go:
 - 1.7

sudo: false

# Use trusty for postgres 9.5 support
dist: trusty

addons:
  postgresql: "9.5"

services:
  - postgresql

install:
 - go get github.com/constabulary/gb/...
 - go get github.com/golang/lint/golint
 - go get github.com/fzipp/gocyclo
 - ./travis-install-kafka.sh

script:
 - ./travis-test.sh

notifications:
    webhooks:
        urls:
            - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtlZ2FuJTNBbWF0cml4Lm9yZy8lMjFhWmthbkFuV0VkeGNSSVFrV24lM0FtYXRyaXgub3Jn"
        on_success: change  # always|never|change
        on_failure: always
        on_start: never