Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ node_js:
- "6.1"
- "5.11"
- "iojs"
script:
- "npm run-script test-cov"
after_success:
- "npm run-script report-cov"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Algorithms with JavaScript

[![Build Status](https://travis-ci.org/yefremov/algorithms-with-javascript.svg?branch=master)](https://travis-ci.org/yefremov/algorithms-with-javascript)
[![Coverage Status](https://coveralls.io/repos/github/yefremov/algorithms-with-javascript/badge.svg?branch=master)](https://coveralls.io/github/yefremov/algorithms-with-javascript?branch=master)

This is a collection of different algorithms, written in JavaScript.
The purpose of this library is to define basic algorithms in a concise,
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "Common programming algorithms written with JavaScript",
"main": "index.js",
"scripts": {
"test": "tape lib/**/*-test.js | tap-spec"
"test": "tape lib/**/*-test.js | tap-spec",
"test-cov": "nyc npm test",
"report-cov": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
Expand All @@ -17,6 +19,8 @@
},
"homepage": "https://github.com/yefremov/algorithms-with-javascript#readme",
"devDependencies": {
"coveralls": "^2.11.15",
"nyc": "^10.1.2",
"tap-spec": "^4.1.1",
"tape": "^4.6.3"
}
Expand Down