language: node_js

node_js:
  - "0.10"
  - "0.12"
  - "4.0"
  - "4.1"

before_install: npm conf set strict-ssl false

after_install:
  - sudo npm install -g phantomjs grunt-cli

before_script:
  - phantomjs --version

script:
  - npm test
  - grunt readme && git diff --exit-code README.md

notifications:
  flowdock: 3853ef33f6943539cbbed913648575be

branches:
  only:
    - master

language: node_js

node_js:
  - "0.10"
  - "0.12"
  - "4.0"
  - "4.1"

before_install:
  - npm install -g npm@'>=2.11'
  - npm conf set strict-ssl false

after_install:
  - sudo npm install -g phantomjs grunt-cli

before_script:
  - phantomjs --version

script:
  - npm test
  - grunt readme && git diff --exit-code README.md

notifications:
  flowdock: 3853ef33f6943539cbbed913648575be

branches:
  only:
    - master

Update npm in before_install script
Update npm in before_install script