Skip to content

Commit

Permalink
Adding npm test command.
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Jun 19, 2012
1 parent c4a1324 commit 3ba4574
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: node_js
node_js:
- 0.6
script: "for i in test/*.html; do phantomjs test/lib/run-jasmine.phantom.js file://`pwd`/$i; done"
script: "npm test"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spine

[![Build Status](https://secure.travis-ci.org/abernier/spine.png?branch=phantomjs-travis)](https://secure.travis-ci.org/abernier/spine.png?branch=phantomjs-travis)
[![Build Status](https://secure.travis-ci.org/abernier/spine.png?branch=phantomjs-travis)](http://travis-ci.org/abernier/spine)

Spine is a lightweight framework for building JavaScript web applications. Spine gives you an MVC structure and then gets out of your way, allowing you to concentrate on the fun stuff, building awesome web applications.

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"type" : "git",
"url": "http://github.com/maccman/spine.git"
},
"main" : "./index.js"
"main" : "./index.js",
"scripts": {
"test": "for i in test/*.html; do phantomjs test/lib/run-jasmine.phantom.js file://`pwd`/$i; done"
}
}

0 comments on commit 3ba4574

Please sign in to comment.