general:
  branches:
    ignore:
      - staging
      - production
machine:
  node:
    version: 5.1.0
deployment:
  staging:
    branch: staging
    heroku:
      appname: opencollective-staging-website
test:
  pre:
    - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    - sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
    - sudo apt-get update
    - sudo apt-get install google-chrome-stable
    - nohup bash -c "npm run testserver:ci &"

general:
  branches:
    ignore:
      - staging
      - production
machine:
  node:
    version: 5.1.0
deployment:
  staging:
    branch: staging
    heroku:
      appname: opencollective-staging-website
test:
  pre:
    - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    - sudo apt-get update
    - sudo apt-get install google-chrome-stable
    - nohup bash -c "npm run testserver:ci &"

Fix deb repo for google chrome
Fix deb repo for google chrome
