make test-travis use test-simple and remove test-spec task

This commit is contained in:
Sebastian McKenzie 2015-01-07 13:33:31 +11:00
parent 3c82a61af1
commit ad4386c0ed

View File

@ -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-clean lint test-travis test-spec test-simple test-all test-browser publish build bootstrap .PHONY: clean test test-cov test-clean lint test-travis test-simple test-all test-browser publish build bootstrap
build: build:
mkdir -p dist mkdir -p dist
@ -48,13 +48,11 @@ test-all:
make test make test
test-cov: test-cov:
export SIMPLE_6TO5_TESTS=1
rm -rf coverage rm -rf coverage
node $(ISTANBUL_CMD) $(MOCHA_CMD) -- node $(ISTANBUL_CMD) $(MOCHA_CMD) --
test-spec: test-travis: bootstrap test-simple
node $(ISTANBUL_CMD) $(MOCHA_CMD) -- --reporter spec
test-travis: bootstrap test-spec
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: