language: node_js
node_js:
  - "4"
  - "5"

script:
  - "npm run nsp && npm run lint && npm test"

notifications:
  email: false

sudo: false

before_install:
 - "npm install -g npm@latest"

<% if (props.isBrowser) {%>before_script:
 - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start<% } %>
