diff --git a/circle.yml b/circle.yml index 10c145e..d35345a 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,3 @@ -notify: - webhooks: - - url: https://hook2xmpp.pub.warehost.de/circleci - machine: environment: GOROOT: "" @@ -33,3 +29,8 @@ deployment: branch: master commands: - ./deploy.sh $HOST_FOR_STAGING $PORT_FOR_STAGING + +notify: + webhooks: + - url: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN + - url: https://hook2xmpp.pub.warehost.de/circleci diff --git a/lib/config.go b/lib/config.go index 21c6e5f..626d84c 100644 --- a/lib/config.go +++ b/lib/config.go @@ -12,6 +12,19 @@ type Config struct { Bind string `toml:"bind"` Interactive bool `toml:"interactive"` } `toml:"api"` + Notify struct { + XMPP struct { + Host string `toml:"host"` + Username string `toml:"username"` + Password string `toml:"password"` + Debug bool `toml:"debug"` + NoTLS bool `toml:"no_tls"` + Session bool `toml:"session"` + Status string `toml:"status"` + StatusMessage string `toml:"status_message"` + StartupNotify string `toml:"startup_notify"` + } `toml:"xmpp"` + } `toml:"notify"` Database struct { Type string `toml:"type"` Connect string `toml:"connect"`