Skip to content

Commit

Permalink
Merge pull request #5 from Madadata/feature/coverall
Browse files Browse the repository at this point in the history
Feature/coverall
  • Loading branch information
jimexist authored Jan 10, 2017
2 parents c9733c3 + df2027d commit 83ce36a
Show file tree
Hide file tree
Showing 7 changed files with 659 additions and 20 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: PS3YM5pFCCgQBBs0b7FmKmLuepEmrBVcC
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ node_js:
- "6"
- "5"
- "4"

script:
npm run coverage
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

[![Standard - JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
[![Build Status](https://travis-ci.org/Madadata/hasoop.svg?branch=master)](https://travis-ci.org/Madadata/hasoop)
[![Coverage Status](https://coveralls.io/repos/github/Madadata/hasoop/badge.svg?branch=feature%2Fcoverall)](https://coveralls.io/github/Madadata/hasoop?branch=feature%2Fcoverall)

Node.js client for Sqoop 2
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "application-name",
"name": "hasoop",
"version": "0.0.1",
"main": "dist/main.js",
"license": "MIT",
"description": "a simple node.js client for Sqoop 2",
"scripts": {
"clean": "rimraf .nyc_output coverage dist",
"build": "babel -d dist src",
"lint": "standard --verbose | snazzy",
"test": "mocha"
"test": "mocha",
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls"
},
"dependencies": {
"isomorphic-fetch": "^2.2.1",
Expand All @@ -16,7 +20,10 @@
"babel-core": "^6.21.0",
"babel-preset-latest": "^6.16.0",
"chai": "^3.5.0",
"coveralls": "^2.11.15",
"mocha": "^3.2.0",
"nyc": "^10.0.0",
"rimraf": "^2.5.4",
"snazzy": "^5.0.0",
"standard": "^8.6.0"
}
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('this shall pass')
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/* eslint-env mocha */
import { expect } from 'chai'
import index from '../src'

describe('whatever should work', () => {
it('works', () => {
expect(1).to.be.equal(1)
expect(index).to.be.empty
})
})
Loading

0 comments on commit 83ce36a

Please sign in to comment.