sudo: false
language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "iojs"
  - "4"
  - "5"
  - "node"
before_script:
  - nvm install stable
  - npm run lint
  - nvm use $TRAVIS_NODE_VERSION
after_success:
  - "nyc report --reporter=text-lcov | coveralls"

sudo: false
language: node_js
cache:
  directories:
    - $HOME/.npm
    - $HOME/.yarn-cache
    - node_modules
node_js:
  - "0.10"
  - "0.12"
  - "iojs"
  - "4"
  - "5"
  - "node"
before_install:
  - npm i -g yarn
install:
  - yarn
before_script:
  - nvm install stable
  - yarn run lint
  - nvm use $TRAVIS_NODE_VERSION
script:
  - yarn test
after_success:
  - "nyc report --reporter=text-lcov | coveralls"

Use yarn on Travis CI
Use yarn on Travis CI
