Skip to content

Commit

Permalink
Update test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Jan 29, 2015
1 parent 4d540b1 commit 103a61f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ before_script:

script:
- node_modules/spm/bin/spm-test
- node_modules/.bin/mocha -R spec tests/univ-spec.js
- node_modules/.bin/mocha -R spec tests/univ-spec.js tests/date-util-spec.js

after_success:
- node_modules/spm/bin/spm-test --coveralls | node_modules/.bin/coveralls
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ clean:
runner = _site/tests/runner.html

test-npm:
@mocha -R spec tests/univ-spec.js
@npm test

test-spm:
@spm test
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"bugs": {
"url": "https://github.com/webforms/univ/issues"
},
"scripts": {
"test": "mocha -R spec tests/univ-spec.js tests/date-util-spec.js"
},
"dependencies": {
"promise": "^6.1.0"
},
"devDependencies": {
"expect.js": "0.3.1",
"promise": "^6.1.0"
Expand All @@ -43,8 +49,5 @@
},
"tests": "tests/*.js"
},
"licenses": "MIT",
"dependencies": {
"promise": "^6.1.0"
}
"licenses": "MIT"
}

0 comments on commit 103a61f

Please sign in to comment.