language: node_js
node_js:
  - 0.12
  - iojs
env:
  - CODECLIMATE_REPO_TOKEN=9ffe8abc7638fd859bf081174225ff9846ee5a476c8793bd4e8cc3ec90dae358
before_install:
  - npm conf set strict-ssl false
after_install:
  - sudo npm install -g phantomjs
before_script:
  - phantomjs --version
  - npm install -g mocha-phantomjs
  - npm install -g istanbul
  - npm install -g codeclimate-test-reporter
script:
  - npm run make
  - npm run instrument
  - npm run test-phantomjs
  - npm run coverage-report
after_script:
  - cat coverage/lcov.info | codeclimate
  - cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
addons:
  code_climate:
    repo_token: 9ffe8abc7638fd859bf081174225ff9846ee5a476c8793bd4e8cc3ec90dae358

language: node_js
node_js:
  - "stable"
env:
  - CODECLIMATE_REPO_TOKEN=9ffe8abc7638fd859bf081174225ff9846ee5a476c8793bd4e8cc3ec90dae358
before_install:
  - npm conf set strict-ssl false
after_install:
  - sudo npm install -g phantomjs
before_script:
  - phantomjs --version
  - npm install -g mocha-phantomjs
  - npm install -g istanbul
  - npm install -g codeclimate-test-reporter
script:
  - npm run make
  - npm run instrument
  - npm run test-phantomjs
  - npm run coverage-report
after_script:
  - cat coverage/lcov.info | codeclimate
  - cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
addons:
  code_climate:
    repo_token: 9ffe8abc7638fd859bf081174225ff9846ee5a476c8793bd4e8cc3ec90dae358

Use latest stable for Travis-CI
Use latest stable for Travis-CI

Use latest stable for Travis-CI