master Add resilience to websocket disconnects

In theory, this is already handled, but in practice I've still seen that
macbot can become disconnected from Slack. Restarting after we haven't
seen any events in a while should keep this in check.

Matt Moriarity avatar Matt Moriarity

Push event #44.1 passed

  • Ran for
AMD64
Go: 1.11
Git
sudo: true
language: go
go: "1.11"
services:
  - docker
before_install:
  - curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep
  - chmod +x $GOPATH/bin/dep
install: true # don't `go get` a bunch of junk, we'll get it with dep
script:
  - dep ensure -vendor-only
  - go test
#  - bin/docker-build
#deploy:
#  provider: script
#  script: bin/docker-push
#  on:
#    repo: travis-ci/macbot
#    all_branches: true
notifications:
  email: false
Build Config
{
  "go": [
    "1.11"
  ],
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "sudo": true,
  "script": [
    "dep ensure -vendor-only",
    "go test"
  ],
  "install": [
    "true"
  ],
  "language": "go",
  "services": [
    "docker"
  ],
  "notifications": {
    "email": {
      "enabled": false
    }
  },
  "before_install": [
    "curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep",
    "chmod +x $GOPATH/bin/dep"
  ]
}