From a6efc790a4ff6cd07afddc4648fe44170b55cf6b Mon Sep 17 00:00:00 2001 From: Jonathan Ong Date: Tue, 3 Feb 2015 15:19:17 -0800 Subject: [PATCH] Revert "Add io.js support to .travis.yml" This reverts commit 70c1905f5944425831fb9737de3f3644014b6168. --- .travis.yml | 1 - Makefile | 23 +++++++---------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index f26f553..b3cf7bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: node_js node_js: - "0.11" - - iojs script: "make test-travis" after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" diff --git a/Makefile b/Makefile index af3deba..07b105b 100644 --- a/Makefile +++ b/Makefile @@ -1,32 +1,23 @@ + SRC = lib/*.js include node_modules/make-lint/index.mk -BIN = iojs - -ifeq ($(findstring io.js, $(shell which node)),) - BIN = node -endif - -ifeq (node, $(BIN)) - FLAGS = --harmony-generators -endif - TESTS = test/application \ test/context/* \ test/request/* \ test/response/* test: - @NODE_ENV=test $(BIN) $(FLAGS) \ - ./node_modules/.bin/_mocha \ + @NODE_ENV=test ./node_modules/.bin/mocha \ --require should \ + --harmony-generators \ $(TESTS) \ --bail test-cov: - @NODE_ENV=test $(BIN) $(FLAGS) \ - ./node_modules/.bin/istanbul cover \ + @NODE_ENV=test node --harmony-generators \ + node_modules/.bin/istanbul cover \ ./node_modules/.bin/_mocha \ -- -u exports \ --require should \ @@ -34,8 +25,8 @@ test-cov: --bail test-travis: - @NODE_ENV=test $(BIN) $(FLAGS) \ - ./node_modules/.bin/istanbul cover \ + @NODE_ENV=test node --harmony-generators \ + node_modules/.bin/istanbul cover \ ./node_modules/.bin/_mocha \ --report lcovonly \ -- -u exports \