| 1 | sudo: false |
| 2 | language: node_js |
| 3 | node_js: |
| 4 | - "0.12" |
| 5 | - "0.10" |
| 6 | - "0.8" |
| 7 | - "iojs" |
| 8 | before_install: |
| 9 | - 'if [ "${TRAVIS_NODE_VERSION}" == "0.8" ]; then npm install -g npm@2.11.1; fi' |
| 10 | script: |
| 11 | - "npm run test-travis" |
| 12 | after_script: |
| 13 | - "npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls" |
| 14 | matrix: |
| 15 | fast_finish: true |
| 16 | notifications: |
| 17 | irc: |
| 18 | channels: |
| 19 | - "irc.freenode.org#unshift" |
| 20 | on_success: change |
| 21 | on_failure: change |