Skip to content

Commit

Permalink
build status tags and coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed Nov 8, 2015
1 parent 93612cf commit 27421b6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ node_js:
- "0.10"
before_install:
- sudo apt-get update -qq
after_success:
- ./node_modules/.bin/istanbul cover -x "**/spec/**" ./node_modules/.bin/_mocha --report lcovonly -- $(find spec -name '*-spec.js') -R spec --require spec/helper.js
- cat ./coverage/lcov.info | node_modules/.bin/coveralls
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# on-dhcp-proxy [![Build Status](https://travis-ci.org/RackHD/on-dhcp-proxy.svg?branch=master)](https://travis-ci.org/RackHD/on-dhcp-proxy) [![Code Climate](https://codeclimate.com/github/RackHD/on-dhcp-proxy/badges/gpa.svg)](https://codeclimate.com/github/RackHD/on-dhcp-proxy) [![Coverage Status](https://coveralls.io/repos/RackHD/on-dhcp-proxy/badge.svg?branch=master&service=github)](https://coveralls.io/github/RackHD/on-dhcp-proxy?branch=master)

`on-dhcp-proxy` provides a DHCP proxy service for enabling the RackHD PXE workflow engine to operate with an existing DHCP server.

Copyright 2015, EMC, Inc.

Setup
======
# Setup

To run on-dhcp-proxy as a standalone DHCP server, it requires isc-dhcp-server to be
To run on-dhcp-proxy as a standalone service, it requires isc-dhcp-server to be
running in the background.

To install isc, run `sudo apt-get install isc-dhcp-server`, or on OSX, `brew install isc-dhcp`
Expand Down Expand Up @@ -48,3 +51,11 @@ To stop isc-dhcp-server:
`$ sudo killall dhcpd`

Lease information is stored in /var/lib/dhcp/dhcpd.leases on linux, and /var/db/dhcpd.leases on OSX.

## CI/testing

The unit tests can be run with standard node tools:

npm test

`./HWIMO-TEST` will run local tests, and was built for running on a jenkins build slave, and will run the tests, jshint, and code coverage all together.

0 comments on commit 27421b6

Please sign in to comment.