Electron shared libraries error

I am currently trying to run a ci with an electron app, but this is returning the following error when trying to run the tests. It runs npm install fine just fails at the npm test stage.

/builds/gforcescss/sloth/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

CI script

image: node:6.7.0

cache:
  paths:
  - node_modules

before_script:
  - apt-get install libgdk-pixbuf2.0-0
  - npm install

test:node:6.7.0:
  stage: test
  script:
    - npm --version
    - npm test
  only:
    - master
  tags:
    - shared

package.json test script

"test": "electron-mocha app/specs.js.autogenerated --renderer --require source-map-support/register",

Any help would be appreciated and if you need any more information let I will provide it.

Thanks :slight_smile: