sudo: false

language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "5"
  - node

cache:
  directories:
    $HOME/.npm
    $HOME/.cache # includes bowers cache

before_install:
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
  - test $TRAVIS_OS_NAME = "osx" && brew update && brew install phantomjs || test $TRAVIS_OS_NAME = "linux"
  - npm config set spin false

install:
  - node --version
  - npm --version
  - git --version
  - npm install --no-optional

script: npm run-script test-all:cover

after_script:
  - npm install coveralls codeclimate-test-reporter
  - cat coverage/lcov.info | codeclimate
  - cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js

sudo: false

language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "5"
  - node

cache:
  directories:
    $HOME/.npm
    $HOME/.cache # includes bowers cache

before_install:
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
  - npm config set spin false

install:
  - node --version
  - npm --version
  - git --version
  - npm install --no-optional

script: npm run-script test-all:cover

after_script:
  - npm install coveralls codeclimate-test-reporter
  - cat coverage/lcov.info | codeclimate
  - cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js

Remove "phantomjs" install step for "osx"
TravisCI: Remove "phantomjs" install step for "osx"

since we don't use "osx" anymore... and even if we did we should use "npm install phantomjs-prebuilt" instead
