Skip to content

Commit

Permalink
tweaking the build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Lam Chan committed Feb 6, 2017
1 parent ad76a3a commit 404608b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ before_install:
- npm install -g npm@'>=2.13.5'
- docker pull rabbitmq:3-management
- docker run -d -p 5671:5671 -p 15672:15672 -p 5672:5672 rabbitmq:3-management
script: npm run build-test
notifications:
slack:
secure: dN/RtoOlePaaMHWEzcmdBslIvIig9/b8YE7Ej++XTvsgzL5EGHyrhk2u6BEkAX1bVprPBAhNCJaTTvJ6DNdibbTHv3sy+q51wg+tpWIDMuDCjLyZhGbvR+yKEblnM41a0AzEXP0tt9ijv4yoxc4LAsSkFOk1PNFr68yiEdM+see5B2AbixM4BDqZiYxfVv/uEq1nEfrRbSB9Q+UOO4i+eQyYroLEAtTM1t8qS7kBk+QkMLSCkH4O/gvu6Yhb0esPfqm0ju90/FdtZCRsy9+FV7JUjTI8qfd9VqgIkRrFKpjwTnPwu+FJduXmz9jnfdXVKIhkZicKnd/A0Ncsq2lUZeGlrWtCKBY54lLZ9yI3UG9y0v+xjUnBcLLC5Fmr58BSgQrMEoqdCqDoPJtvWVsKjO6hshHc37Y6mqVIUfjGwsDjq8fR77Rk8ZCxb7Eb8pDwBRt/21cjsdgZ9k3tUn5nog3yl5iVKgBTBQOkxo9TKmjCs+j6tN74xNRs/TiK22fnnNhlxrobwK/Kdg9hOcwTLIjnTMGvuuGnQpjM2GNeTPxt55hvx6gv+KQL3azERZzYAY+7K0X+jubrnUTmSEsOjkDfZL3/mL3yHx3wCYmIynpsTo9il7rojQVEQ+NhBsapRNjhZkjo/dXW8l9fEdkiX/BM1pFE28c56B6LdMZckUs=
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Currently supports the following queueing frameworks.
[![Build Status](https://travis-ci.org/xogroup/bunnybus.svg?branch=development)](https://travis-ci.org/xogroup/bunnybus)

[![Known Vulnerabilities](https://snyk.io/test/github/xogroup/bunnybus/badge.svg)](https://snyk.io/test/github/xogroup/bunnybus)
[![NSP Status](https://nodesecurity.io/orgs/xo-group/projects/0e507cfa-6ee8-4226-9613-9a4208fa2e63/badge)](https://nodesecurity.io/orgs/xo-group/projects/0e507cfa-6ee8-4226-9613-9a4208fa2e63)
[![NSP Status](https://nodesecurity.io/orgs/xo-group/projects/599e335d-8668-4f77-89ea-ebac0d607378/badge)](https://nodesecurity.io/orgs/xo-group/projects/599e335d-8668-4f77-89ea-ebac0d607378)

Lead Maintainer: [Lam Chan](https://github.com/lamchakchan)

Expand Down Expand Up @@ -41,3 +41,5 @@ npm run run-docker
npm test
npm run stop-docker
```

For normal iterations, there is no need to stop the docker container. When the docker container is already running, just `npm test`.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
"description": "RabbitMQ driver for pub/sub with error queue / retry management",
"main": "lib/index.js",
"scripts": {
"test": ". docker/wait-on-resource.sh && lab test -a code -L -v",
"test": "lab test -a code -L -v",
"build-test": ". docker/wait-on-resource.sh && npm test",
"run-docker": "docker run -d --name=rabbitmq -p 5671:5671 -p 15672:15672 -p 5672:5672 rabbitmq:3-management",
"stop-docker": "docker rm -f rabbitmq"
},
"author": "Lam Chan",
"license": "ISC",
"engines": {
"node" : ">=6.x.x"
},
"dependencies": {
"amqplib": "^0.5.1",
"async": "^2.1.4",
Expand Down

0 comments on commit 404608b

Please sign in to comment.