diff --git a/.travis.yml b/.travis.yml index fd73905f..1d58c9c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" \ No newline at end of file +script: "npm test" \ No newline at end of file diff --git a/README.md b/README.md index 1231d5c8..343f483d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 91bab50d..476a08a5 100644 --- a/package.json +++ b/package.json @@ -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" + } }