Skip to content

Commit

Permalink
build: run tests on node.js 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Sep 2, 2014
1 parent 6c9ee13 commit 7ea4804
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
language: node_js
node_js:
- "0.6"
- "0.8"
- "0.10"
- "0.11"
before_install: "test $TRAVIS_NODE_VERSION = '0.8' && npm install -g [email protected] || true"
script: "npm run-script test-travis"
after_script: "test $TRAVIS_NODE_VERSION = '0.10' && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
matrix:
allow_failures:
- node_js: "0.11"
fast_finish: true
before_install:
- "test $TRAVIS_NODE_VERSION != '0.6' || sed -i 's/devDependencies/optionalDependencies/' package.json"
- "test $TRAVIS_NODE_VERSION != '0.8' || npm install -g [email protected]"
script:
- "test $TRAVIS_NODE_VERSION != '0.6' || npm test"
- "test $TRAVIS_NODE_VERSION = '0.6' || npm run-script test-travis"
after_script:
- "test $TRAVIS_NODE_VERSION = '0.10' && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

0 comments on commit 7ea4804

Please sign in to comment.