make tests run with separate script

This commit is contained in:
Manuel Araoz 2014-08-26 16:08:20 -03:00
commit 4e96abe2f7
2 changed files with 6 additions and 1 deletions

5
test/run.sh Normal file
View file

@ -0,0 +1,5 @@
#! /bin/bash
node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && \
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && \
./node_modules/karma/bin/karma start --single-run