better appveyor make test
This commit is contained in:
parent
1b49835b27
commit
1ac459a05d
12
Makefile
12
Makefile
@ -6,7 +6,7 @@ MOCHA_CMD = node_modules/mocha/bin/_mocha
|
|||||||
|
|
||||||
export NODE_ENV = test
|
export NODE_ENV = test
|
||||||
|
|
||||||
.PHONY: clean test test-cov test-travis test-browser publish bench build
|
.PHONY: clean test test-cov tlint est-travis test-appveyor test-browser publish bench build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf coverage templates.json test/tmp dist
|
rm -rf coverage templates.json test/tmp dist
|
||||||
@ -15,16 +15,22 @@ bench:
|
|||||||
npm install es6-transpiler traceur esnext es6now jstransform
|
npm install es6-transpiler traceur esnext es6now jstransform
|
||||||
node node_modules/matcha/bin/_matcha
|
node node_modules/matcha/bin/_matcha
|
||||||
|
|
||||||
test:
|
lint:
|
||||||
$(JSHINT_CMD) lib bin benchmark/index.js
|
$(JSHINT_CMD) lib bin benchmark/index.js
|
||||||
|
|
||||||
|
test:
|
||||||
|
make lint
|
||||||
$(MOCHA_CMD)
|
$(MOCHA_CMD)
|
||||||
|
|
||||||
test-cov:
|
test-cov:
|
||||||
rm -rf coverage
|
rm -rf coverage
|
||||||
node $(ISTANBUL_CMD) $(MOCHA_CMD) --
|
node $(ISTANBUL_CMD) $(MOCHA_CMD) --
|
||||||
|
|
||||||
test-travis:
|
test-appveyor:
|
||||||
node $(ISTANBUL_CMD) $(MOCHA_CMD) -- --reporter spec
|
node $(ISTANBUL_CMD) $(MOCHA_CMD) -- --reporter spec
|
||||||
|
|
||||||
|
test-travis:
|
||||||
|
make test-appveyor
|
||||||
if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi
|
if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi
|
||||||
|
|
||||||
test-browser:
|
test-browser:
|
||||||
|
|||||||
@ -10,7 +10,7 @@ install:
|
|||||||
test_script:
|
test_script:
|
||||||
- "node --version"
|
- "node --version"
|
||||||
- "npm --version"
|
- "npm --version"
|
||||||
- "make test"
|
- "make test-appveyor"
|
||||||
|
|
||||||
build: "off"
|
build: "off"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user