diff --git a/.travis.yml b/.travis.yml index 14d96c3..7d152f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,12 +10,12 @@ branches: only: - master before_install: - - "npm install -g istanbul" - - "npm install -g coveralls" + - "npm install -g babel-cli coveralls" + - "npm install istanbul@1.0.0-alpha coveralls" before_script: - "npm run lint" script: - - "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec" + - "babel-node ./node_modules/istanbul/lib/cli cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec" after_script: - "cat ./coverage/lcov.info | coveralls" - "rm -rf ./coverage" diff --git a/package.json b/package.json index 2a2cd27..2e58548 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ }, "devDependencies": { "babel-preset-es2015": "^6.5.0", - "babel-register": "^6.5.2", "bluebird": "^3.3.1", "chai": "^3.5.0", "jscs": "^2.9.0", diff --git a/test/mocha.opts b/test/mocha.opts index fb4e5b8..c261c3b 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1,2 +1 @@ --require test/helpers/setup ---compilers js:babel-register