machine:
  node:
    version: 4.4.1

dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install rpm fakeroot dpkg libdbus-1-dev libglib2.0-dev libexpat1-dev libx32gcc-4.8-dev libc6-dev-i386
    - sudo apt-get install gcc-4.8-multilib g++-4.8-multilib libdbus-1-dev:i386 libexpat1-dev:i386 build-essential g++
    - sudo apt-get install xorg openbox
    - npm i -g npm
    - rm -rf node_modules
  cache_directories:
    - "~/.electron"

test:
  override:
    - npm run test
  post:
    - npm run make:linux

general:
  artifacts:
    - "dist"

machine:
  node:
    version: 4.4.1

dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install rpm fakeroot dpkg libdbus-1-dev libglib2.0-dev libexpat1-dev libx32gcc-4.8-dev libc6-dev-i386
    - sudo apt-get install gcc-4.8-multilib g++-4.8-multilib libdbus-1-dev:i386 libexpat1-dev:i386 build-essential g++
    - sudo apt-get install xorg openbox libx11-dev
    - npm i -g npm
    - rm -rf node_modules
  cache_directories:
    - "~/.electron"

test:
  override:
    - npm run test
  post:
    - npm run make:linux

general:
  artifacts:
    - "dist"

Add libx11-dev package to build
Add libx11-dev package to build
