hunk.code_window: 		}
   	}
   	if broadcast {
   		event := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_STATUS_CHANGE, "", "", status.UserId, nil)
   		event.Add("status", model.STATUS_ONLINE)
   		event.Add("user_id", status.UserId)
   		go Publish(event)
   	}
   }
  
hunk.labels: keep keep keep keep replace replace replace replace keep keep keep
hunk.after_edit: 		BroadcastStatus(status)
  
hunk.file_path: app/status.go
hunk.type: replace
file: language: go
  
  sudo: false
  
  go:
    - 1.2
    - 1.3
    - 1.4
    - 1.5
    - 1.6
    - 1.7
    - 1.8
  
  before_install:
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/mattn/goveralls
  
  script:
    - go test -v -covermode=count -coverprofile=coverage.out
    - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out 
  