machine:
  node:
    version: 7.0.0
  java:
    version: oraclejdk8

general:
  artifacts:
    - "coverage/"
    - "reports/"

dependencies:
  post:
    - curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    - sudo dpkg -i google-chrome.deb
    - sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
    - google-chrome --version
    - rm google-chrome.deb

test:
  override:
    - npm test && npm run e2e:
        timeout: 150

deployment:
  production:
    branch: master
    commands:
      - npm run git-config
      - NODE_ENV=production npm run deployment-master

  staging:
    branch: devel
    commands:
      - NODE_ENV=staging npm run deployment-devel
      - NODE_ENV=beta npm run deployment-beta

  sockets:
    branch: /.*/
    commands:
      - NODE_ENV=staging npm run deployment-branch

machine:
  node:
    version: 7.0.0
  java:
    version: oraclejdk8

general:
  artifacts:
    - "coverage/"
    - "reports/"

dependencies:
  post:
    - curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    - sudo dpkg -i google-chrome.deb
    - sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
    - google-chrome --version
    - rm google-chrome.deb

test:
  override:
    - npm test && npm run e2e:
        timeout: 150

deployment:
  production:
    branch: master
    commands:
      - npm run git-config
      - NODE_ENV=production npm run deployment-master

  staging:
    branch: devel
    commands:
      - NODE_ENV=staging npm run deployment-devel
      - NODE_ENV=beta npm run deployment-beta

  sockets:
    branch: /.*/
    commands:
      - NODE_ENV=staging npm run deployment-branch

experimental:
  notify:
    branches:
      only:
        - master
        - devel
        - sng

Whitelist branches for slack notification bot
[DASH-2439] Whitelist branches for slack notification bot
