Skip to content

Commit

Permalink
Add travis and faucet
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Sep 22, 2019
1 parent 9776a1f commit f9b2d76
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: node_js

node_js:
- 8
- 10
- 12

after_success: npm run coverage
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
[![level badge][level-badge]](https://github.com/Level/awesome)
[![npm](https://img.shields.io/npm/v/level-bench.svg?label=&logo=npm)](https://www.npmjs.com/package/level-bench)
[![Node version](https://img.shields.io/node/v/level-bench.svg)](https://www.npmjs.com/package/level-bench)
[![Travis](https://img.shields.io/travis/com/Level/bench.svg?logo=travis&label=)](https://travis-ci.com/Level/bench)
[![Coverage Status](https://coveralls.io/repos/github/Level/bench/badge.svg)](https://coveralls.io/github/Level/bench)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Backers on Open Collective](https://opencollective.com/level/backers/badge.svg?color=orange)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg?color=orange)](#sponsors)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bin": "level-bench.js",
"main": "level-bench.js",
"scripts": {
"test": "standard && hallmark && nyc tape test/*.js",
"test": "standard && hallmark && (nyc -s tape test/*.js | faucet) && nyc report",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"hallmark": "hallmark --fix",
"dependency-check": "dependency-check --no-dev .",
Expand All @@ -30,6 +30,7 @@
},
"devDependencies": {
"dependency-check": "^4.1.0",
"faucet": "^0.0.1",
"hallmark": "^2.0.0",
"level-community": "^3.0.0",
"nyc": "^14.1.1",
Expand Down

0 comments on commit f9b2d76

Please sign in to comment.