Skip to content

Commit

Permalink
Automatically test on push
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRio committed Oct 16, 2016
1 parent 131fbd7 commit cdfb716
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ vtop

[![Build Status](https://travis-ci.org/MrRio/vtop.svg?branch=master)](https://travis-ci.org/MrRio/vtop)

[![Standard - JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

A graphical activity monitor for the command line. Written in node.js.

![](https://raw.githubusercontent.com/MrRio/vtop/master/docs/example.gif)
Expand Down Expand Up @@ -89,4 +91,3 @@ Yeah that's on the list :) Feel free to send a pull request though. Check out th
### What license is this under?

MIT – do what you like with it :)

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
"node": ">=0.10.0"
},
"scripts": {
"test": "make test"
"test": "make test",
"prepush": "standard && make test"
},
"standard": {
"ignore": [
"bin/vtop.js"
]
},
"bin": {
"vtop": "./bin/vtop.js"
Expand Down
1 change: 0 additions & 1 deletion upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ var upgrade = (function () {
if (error) {
console.error(error)
}
console.log(stdout)
var output = safeEval('(' + stdout + ')')
if (output['dist-tags']['latest'] !== current) {
callback(output['dist-tags']['latest'])
Expand Down

0 comments on commit cdfb716

Please sign in to comment.