Skip to content

Commit

Permalink
Merge 79bd706 into 122728c
Browse files Browse the repository at this point in the history
  • Loading branch information
winniehell committed Oct 28, 2016
2 parents 122728c + 79bd706 commit 0ef51a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 33 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -13,5 +13,8 @@ matrix:
allow_failures:
- node_js: "node"

before_script:
- export MOCHA_OPTS=$(node --v8-options | grep --only-matching -- '--harmony_generators')

after_script:
make coveralls
npm run coveralls
31 changes: 0 additions & 31 deletions Makefile

This file was deleted.

9 changes: 8 additions & 1 deletion package.json
Expand Up @@ -9,7 +9,14 @@
"_metalsmith": "bin/_metalsmith"
},
"scripts": {
"test": "make test"
"pretest": "npm install",
"test": "mocha $MOCHA_OPTS",
"pretest-debug": "npm install",
"test-debug": "mocha debug",
"precoverage": "npm install",
"coverage": "istanbul cover ./node_modules/.bin/_mocha",
"precoveralls": "npm run coverage",
"coveralls": "coveralls < coverage/lcov.info"
},
"dependencies": {
"absolute": "0.0.1",
Expand Down

0 comments on commit 0ef51a8

Please sign in to comment.