From 277fbaac0c3fbba3765c8667feaca276da151d82 Mon Sep 17 00:00:00 2001 From: shepherdwind Date: Mon, 6 Jul 2015 23:19:07 +0800 Subject: [PATCH] chore: change makefile, make test run on iojs --- .travis.yml | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9cb4ff4..1dc3da5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ notifications: - eward.song@gmail.com node_js: - - 0.12 + - 'iojs-2' install: - npm install diff --git a/Makefile b/Makefile index deb7bd1..50509b4 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ parse: && mv velocity.js index.js test: - node $(BIN)/_mocha tests + node $(BIN)/_mocha tests --require should spm: spm build --skip fs,path -O build @@ -31,6 +31,7 @@ cov: $(SRC) $(TESTS) @node $(BIN)/istanbul cover \ $(BIN)/_mocha -- \ --reporter mocha-lcov-reporter \ + --require should \ --timeout 5s \ $(TESTS) \ && cat ./coverage/lcov.info | \