language: node_js
node_js:
  - "4.1.1"
notifications:
  email: false
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
language: node_js
node_js:
  - "4.1.1"
notifications:
  email: false
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
after_success:
  - npm run build
  - npm run deploy

Deploy to surge on successful build
Deploy to surge on successful build
