language: node_js

node_js:
  - "0.10"
  - "0.12"
  - "4"

branches:
    except:
        - gh-pages
        - /^v\d+(\.\d+){2}/

after_script:
    - if [[ `node --version` == *v0.10* ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi

sudo: false
cache:
  directories:
    - node_modules

matrix:
  fast_finish: true
  allow_failures:
    - node_js: "4"


language: node_js

node_js:
  - "0.10"
  - "0.12"
  - "4"

branches:
    except:
        - gh-pages
        - /^v\d+(\.\d+){2}/

before_install:
    - npm i -g npm

after_script:
    - if [[ `node --version` == *v0.10* ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi

sudo: false
cache:
  directories:
    - node_modules

matrix:
  fast_finish: true
  allow_failures:
    - node_js: "4"


Fix npm install on node v4
Fix npm install on node v4
