From dacd2f218a3774bd200f17c7e9274088043a25ef Mon Sep 17 00:00:00 2001 From: kaeff Date: Wed, 16 Sep 2015 02:12:50 +0200 Subject: Run tests via cli using karma & PhantomJS for Travis Instead of jasmine's HTML runner, use karma to run specs. karma & all other dependencies are installed via npm and executed via node.js. This allows TravisCI to execute the test, and as a side effect, bumps the versions on the testing toolchain. - Install node.js - Run `npm install` once to download dependencies. - Run `npm test` to run all tests Things to bear in mind: - This commit adds general project information in `package.js` - `karma.conf.js` specifies the order in which src, spec and lib files are loaded - Switch to jasmine spies instead of sinon --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc (limited to '.nvmrc') diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..9212624 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v0.12.7 -- cgit v1.2.3