Skip to content

Commit

Permalink
Merge pull request #40 from shanel262/master
Browse files Browse the repository at this point in the history
Added testing with Node@6
  • Loading branch information
mihaidma committed May 17, 2016
2 parents a3e5905 + 6251c1c commit afb684f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ node_js:
- "0.12"
- "4"
- "5"
- "6"

cache:
directories:
- node_modules

before_script:
- if [[ $TRAVIS_NODE_VERSION == "6" ]]; then export LAB_FLAGS="--leaks"; else export LAB_FLAGS=""; fi
- npm install seneca$SENECA_VER
- echo FLAGS:$LAB_FLAGS

after_script:
npm run coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"license": "MIT",
"main": "user.js",
"scripts": {
"test": "lab -P test -r console -v -m 3000 -t 76",
"test": "lab -P test -r console -v -m 3000 -t 76 $LAB_FLAGS",
"test:node6": "LAB_FLAGS='--leaks' && npm test",
"lint": "lab -dL",
"coverage": "lab -s -P test -r lcov | coveralls",
"annotate": "docco user.js -o doc"
Expand Down

0 comments on commit afb684f

Please sign in to comment.