Skip to content
Permalink
Browse files

chore(tests): remove intermediate layer when running via Docker

  • Loading branch information
malept committed Dec 8, 2017
1 parent fcef382 commit 6282a1150cde085e95c92ce78fbdccd4d3645e83
Showing with 5 additions and 10 deletions.
  1. +0 −7 ci/Dockerfile
  2. +4 −1 ci/docker.sh
  3. +1 −2 ci/script.sh

This file was deleted.

@@ -3,4 +3,7 @@
NODE_INSTALLER="$1"

if [[ "$NODE_INSTALLER" = "yarn" ]]; then npm i -g yarn; fi
npm run test -- --installer=$NODE_INSTALLER

cd /code

CI=true npm run test -- --installer=$NODE_INSTALLER
@@ -1,8 +1,7 @@
#!/bin/bash

if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
sudo docker build -f ci/Dockerfile . -t electron-forge-ci
sudo docker run -it electron-forge-ci ci/docker.sh $NODE_INSTALLER
sudo docker run --interactive --tty --volume $(pwd):/code malept/electron-forge-container:latest /code/ci/docker.sh $NODE_INSTALLER
else
npm run test-coverage -- --installer=$NODE_INSTALLER
fi

0 comments on commit 6282a11

Please sign in to comment.
You can’t perform that action at this time.