Enable testing with python-dbusmock

This commit is contained in:
John Kleinschmidt 2017-12-05 15:01:01 -05:00
parent f2da3e9a14
commit e59aa715fd
3 changed files with 15 additions and 9 deletions

View file

@ -3,7 +3,7 @@ version: 2
jobs: jobs:
electron-linux-arm: electron-linux-arm:
docker: docker:
- image: electronbuilds/electron:0.0.3 - image: electronbuilds/electron:0.0.4
environment: environment:
TARGET_ARCH: arm TARGET_ARCH: arm
resource_class: 2xlarge resource_class: 2xlarge
@ -60,7 +60,7 @@ jobs:
fi fi
electron-linux-arm64: electron-linux-arm64:
docker: docker:
- image: electronbuilds/electron:0.0.3 - image: electronbuilds/electron:0.0.4
environment: environment:
TARGET_ARCH: arm64 TARGET_ARCH: arm64
resource_class: 2xlarge resource_class: 2xlarge
@ -117,7 +117,7 @@ jobs:
fi fi
electron-linux-ia32: electron-linux-ia32:
docker: docker:
- image: electronbuilds/electron:0.0.3 - image: electronbuilds/electron:0.0.4
environment: environment:
TARGET_ARCH: ia32 TARGET_ARCH: ia32
resource_class: xlarge resource_class: xlarge
@ -174,7 +174,7 @@ jobs:
fi fi
electron-linux-mips64el: electron-linux-mips64el:
docker: docker:
- image: electronbuilds/electron:0.0.3 - image: electronbuilds/electron:0.0.4
environment: environment:
TARGET_ARCH: mips64el TARGET_ARCH: mips64el
resource_class: xlarge resource_class: xlarge
@ -232,7 +232,7 @@ jobs:
electron-linux-x64: electron-linux-x64:
docker: docker:
- image: electronbuilds/electron:0.0.3 - image: electronbuilds/electron:0.0.4
environment: environment:
TARGET_ARCH: x64 TARGET_ARCH: x64
DISPLAY: ':99.0' DISPLAY: ':99.0'

View file

@ -8,10 +8,13 @@ RUN chmod a+rwx /home
# Install node.js # Install node.js
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get update && apt-get install -y --force-yes nodejs RUN apt-get update && apt-get install -y nodejs
# Install wget used by crash reporter # Install wget used by crash reporter
RUN apt-get install -y --force-yes wget RUN apt-get install -y wget
# Install python-dbusmock
RUN apt-get install -y python-dbusmock
# Add xvfb init script # Add xvfb init script
ADD tools/xvfb-init.sh /etc/init.d/xvfb ADD tools/xvfb-init.sh /etc/init.d/xvfb

View file

@ -4,10 +4,13 @@ USER root
# Install node.js # Install node.js
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get update && apt-get install -y --force-yes nodejs RUN apt-get update && apt-get install -y nodejs
# Install wget used by crash reporter # Install wget used by crash reporter
RUN apt-get install -y --force-yes wget RUN apt-get install -y wget
# Install python-dbusmock
RUN apt-get install -y python-dbusmock
# Add xvfb init script # Add xvfb init script
ADD tools/xvfb-init.sh /etc/init.d/xvfb ADD tools/xvfb-init.sh /etc/init.d/xvfb