Skip to content

Commit

Permalink
Merge pull request #298 from webpack-contrib/fix-tests
Browse files Browse the repository at this point in the history
Fixes errors in CI
  • Loading branch information
th0r authored Jul 29, 2019
2 parents fa2ac7b + a5c9e96 commit 4e3dda2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,22 @@ node_js:
- "8"
- "10"
- "node"
cache:
- directories:
- node_modules
addons:
apt:
packages:
# Required by Electron
# https://github.com/juliangruber/electron-stream#travis
- xvfb
before_script:
# Required by Chrome >42
# https://github.com/electron/electron/issues/1518#issuecomment-97708181
- libgconf-2-4
install:
# Required by Electron
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm i -g npm
- npm ci
before_script:
# Building sources
- npm run build
script:
Expand Down

0 comments on commit 4e3dda2

Please sign in to comment.