Skip to content

Commit

Permalink
Fixed bug in identity reporting, added travisci and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunburdick committed Jan 6, 2016
1 parent fd95025 commit 0e1cfc0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules
npm-debug.log
config.*
config.js
.DS_Store
coverage/
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- "5.1"
script: npm run travis
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Slack Bot for JIRA
[![Build Status](https://travis-ci.org/shaunburdick/slack-jirabot.svg)](https://travis-ci.org/shaunburdick/slack-jirabot) [![Coverage Status](https://coveralls.io/repos/shaunburdick/slack-jirabot/badge.svg?branch=master&service=github)](https://coveralls.io/github/shaunburdick/slack-jirabot?branch=master)

This slack bot will listen on any channel it's on for JIRA tickets. It will lookup the ticket and respond with some information about it.

## Example
Expand Down
2 changes: 1 addition & 1 deletion lib/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class Bot {
if (err) {
logger.error('Unable to respond', err);
} else {
logger.info(`@${this.slack.identity.name} responded with`, response);
logger.info(`@${this.bot.identity.name} responded with`, response);
}
});
} else {
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slack-jirabot",
"version": "2.0.0",
"version": "2.0.1",
"description": "Slackbot for interacting with JIRA",
"main": "app.js",
"private": true,
Expand All @@ -9,7 +9,9 @@
"test": "npm run unit",
"unit": "faucet",
"lint": "eslint .",
"coverage": "istanbul cover --include-all-sources tape test/*.test.js"
"coverage": "istanbul cover --include-all-sources tape test/*.test.js",
"coveralls": "cat ./coverage/lcov.info | coveralls --verbose",
"travis": "npm run coverage && npm run coveralls"
},
"author": "Shaun Burdick <github@shaunburdick.com>",
"homepage": "http://github.com/shaunburdick/slack-jirabot",
Expand Down

0 comments on commit 0e1cfc0

Please sign in to comment.