mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-13 23:02:46 +00:00
2dcb3a11a5
* Remove unused struct field * Ignore unused test data * Remove unused variables * Remove deadcode * Fix up vetshadow warnings * Convert to using gometalinter * Update travis * Use vendored versions of gometalinter * Make gometalinter install its stuff * Vendor misspell
36 lines
764 B
YAML
36 lines
764 B
YAML
language: go
|
|
go:
|
|
- 1.8
|
|
|
|
sudo: false
|
|
|
|
# Use trusty for postgres 9.5 support
|
|
dist: trusty
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- openssl
|
|
postgresql: "9.5"
|
|
|
|
services:
|
|
- postgresql
|
|
|
|
install:
|
|
- go get github.com/constabulary/gb/...
|
|
|
|
# Generate a self-signed X.509 certificate for TLS.
|
|
before_script:
|
|
- openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -days 365 -nodes -subj /CN=localhost
|
|
|
|
script:
|
|
- ./travis-install-kafka.sh
|
|
- ./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
|