forked from webpack-contrib/webpack-bundle-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 823 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: node_js
node_js:
- "4"
- "6"
- "node"
cache:
- yarn: true
- directories:
- node_modules
env:
# Required to compile native modules for Node.js v4+
# See https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
- CXX=g++-4.8
addons:
apt:
sources:
# Required to compile native modules for Node.js v4+
- ubuntu-toolchain-r-test
packages:
# Required by Electron
# https://github.com/juliangruber/electron-stream#travis
- xvfb
# Required to compile native modules for Node.js v4+
- g++-4.8
before_script:
# Required by Electron
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
# Building sources
- npm run build
script:
- npm run lint
- npm run test