Skip to content

Commit

Permalink
Merge pull request #35 from shanel262/master
Browse files Browse the repository at this point in the history
Added testing with Node@6
  • Loading branch information
mihaidma committed Jul 29, 2016
2 parents b4af365 + 0155e85 commit 14408b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ 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 uninstall seneca
- npm install seneca$SENECA_VER
- echo FLAGS:$LAB_FLAGS

after_script:
- npm run lint
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"Blain Smith <rebelgeek@blainsmith.com> (http://blainsmith.com/)"
],
"scripts": {
"test": "lab -vLc -m 3000",
"test": "lab -vLc -m 3000 $LAB_FLAGS",
"test:node6": "LAB_FLAGS='--leaks' && npm test",
"lint": "lab -dL",
"coverage": "lab -r lcov -o coverage/lcov.info -r html -o coverage/index.html",
"publish-coverage": "cat coverage/lcov.info | coveralls",
Expand Down

0 comments on commit 14408b8

Please sign in to comment.