Permalink
Browse files

Cakefile update

  • Loading branch information...
1 parent 38da4f1 commit 4d8f85b33375fcbce1dfc55bb63969ecba380bb8 @sebv committed Nov 7, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 .travis.yml
  2. +1 −1 Cakefile
  3. +1 −1 package.json
View
@@ -1,4 +1,6 @@
language: node_js
node_js:
- 0.8
+before_script: "cake prepare:test"
+script: "cake test"
View
@@ -20,7 +20,7 @@ task 'clean', 'Remove all js files', ->
task 'test', 'Run All tests', ->
u.mocha.test 'test/unit', (status) ->
- process.exit status is status isnt 0
+ process.exit status unless status is 0
#./node_modules/.bin/nodeunit 'test/unit/*.coffee'
View
@@ -8,7 +8,7 @@
, "main": "./index"
, "engine": "node >= 0.6.1"
, "scripts": {
- "test": "cake prepare:test test"
+ "test": "cake test"
}
, "dependencies": {
"zombie" : "1.4.1"

0 comments on commit 4d8f85b

Please sign in to comment.