Skip to content

Commit

Permalink
v1.3.3 add beekeeper webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
iamruinous committed Oct 19, 2016
1 parent 67ae340 commit 79ca7d3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 10 deletions.
19 changes: 14 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
language: node_js
node_js:
- '5'
- '5'
before_script:
- npm install -g codeclimate-test-reporter
- npm install -g codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < coverage/lcov.info
- codeclimate-test-reporter < coverage/lcov.info
deploy:
provider: npm
email: serveradmin@octoblu.com
api_key:
secure: im/ePR/KJ3BN4GpnRZ2k4uhrVmfHgnSuOFEYgmx8ehfctO5oLYGhNnsR/z36zGtldt5njG0OYMztMTtmw6HYpsOt2wG0tJYwluAGICwJ9+6y+1u85wZuP7Mm2c2NIWDXZrigPkUUlmMJX07Eo8qGfRoP7fL99VVfAPDHRaoWZdgJijfel9LCyjxucl7Y2dgdF7U2kluN6PTKfujsJQJTdaAEkZIzOtCTrn6Eq5G0lcilB1s/s91OWOmKHrlkvDUZtuhrKkejbXHEOxe+QMW9V/TaofJclFxd38baZpZWx3fYJiSQzjHx2M3oJ6RW0gOwwSReEwKif6HPTyyv8XY7KclgONtpsmJeZcYC5AmCjoqbtr8Eq+ld4d7tWL7An7q5NuUghBKm7WRAqb2gcowtHz0NcceEp8YfnEqzdgoRXQ5JgJXu6Yg/T+xixanxyXPaxRhv+HhiLDBMJgq7YviGBY2G0QI7TB5UV9P4WmHcmBkWM8ABezZdEoYjYce7b1avIEf2Mm8WuQb9d+H48IGwNr0u/A/0X1VeeGyQl6DpAEKdiT8fnOg5MBhQjw1iHtc+bnU++CVJZIUTcZwOVqFr+x5H03AhMJfrWKlF8udEvCdbXzt6GD3Ui7kkagl34U8zJuyhfj3gu3HuCPEkyealUAgXWzQbycV8LWw777cOojk=
on:
secure: >-
im/ePR/KJ3BN4GpnRZ2k4uhrVmfHgnSuOFEYgmx8ehfctO5oLYGhNnsR/z36zGtldt5njG0OYMztMTtmw6HYpsOt2wG0tJYwluAGICwJ9+6y+1u85wZuP7Mm2c2NIWDXZrigPkUUlmMJX07Eo8qGfRoP7fL99VVfAPDHRaoWZdgJijfel9LCyjxucl7Y2dgdF7U2kluN6PTKfujsJQJTdaAEkZIzOtCTrn6Eq5G0lcilB1s/s91OWOmKHrlkvDUZtuhrKkejbXHEOxe+QMW9V/TaofJclFxd38baZpZWx3fYJiSQzjHx2M3oJ6RW0gOwwSReEwKif6HPTyyv8XY7KclgONtpsmJeZcYC5AmCjoqbtr8Eq+ld4d7tWL7An7q5NuUghBKm7WRAqb2gcowtHz0NcceEp8YfnEqzdgoRXQ5JgJXu6Yg/T+xixanxyXPaxRhv+HhiLDBMJgq7YviGBY2G0QI7TB5UV9P4WmHcmBkWM8ABezZdEoYjYce7b1avIEf2Mm8WuQb9d+H48IGwNr0u/A/0X1VeeGyQl6DpAEKdiT8fnOg5MBhQjw1iHtc+bnU++CVJZIUTcZwOVqFr+x5H03AhMJfrWKlF8udEvCdbXzt6GD3Ui7kkagl34U8zJuyhfj3gu3HuCPEkyealUAgXWzQbycV8LWw777cOojk=
'on':
tags: true
branches: true
notifications:
webhooks:
- 'https://beekeeper.octoblu.com/webhooks/travis:ci'
after_success:
- npm run coverage
- 'npm run mocha:json'
- 'bash <(curl -s https://codecov.io/bash)'
- 'bash <(curl -s https://codecov.octoblu.com/bash)'
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM node:5
MAINTAINER Octoblu, Inc. <docker@octoblu.com>

EXPOSE 80
HEALTHCHECK CMD curl --fail http://localhost:80/healthcheck || exit 1

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down
27 changes: 22 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-forwarder-elasticsearch",
"version": "1.3.2",
"version": "1.3.3",
"description": "Put some description here",
"keywords": [],
"homepage": "https://github.com/octoblu/elasticsearch",
Expand All @@ -16,7 +16,10 @@
},
"scripts": {
"start": "node command.js",
"test": "istanbul cover _mocha -- -R spec --require coffee-coverage/register-istanbul"
"test": "istanbul cover _mocha -- -R spec --require coffee-coverage/register-istanbul",
"coverage": "nyc npm test",
"mocha:json": "env NPM_ENV=test mocha --reporter json > coverage/mocha.json",
"test:watch": "mocha -w -R mocha-multi --reporter-options spec=-,mocha-osx-reporter=-"
},
"devDependencies": {
"@octoblu/shmock": "^0.7.2",
Expand All @@ -29,7 +32,10 @@
"passport-strategy": "^1.0.0",
"request": "^2.66.0",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0"
"sinon-chai": "^2.8.0",
"nyc": "^8.3.0",
"mocha-osx-reporter": "^0.1.2",
"mocha-multi": "^0.9.1"
},
"dependencies": {
"body-parser": "^1.14.1",
Expand All @@ -54,5 +60,16 @@
"node": ">=0.8.0",
"npm": ">=1.2.10"
},
"license": "MIT"
}
"license": "MIT",
"nyc": {
"cache": true,
"reporter": [
"text-summary",
"lcov",
"json"
],
"extension": [
".coffee"
]
}
}

0 comments on commit 79ca7d3

Please sign in to comment.