-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
63 lines (56 loc) · 1.33 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
dist: bionic
addons:
chrome: stable
apt:
packages:
- libnss3
# These are required to run webkit
- libwoff1
- libopus0
- libwebp6
- libwebpdemux2
- libenchant1c2a
- libgudev-1.0-0
- libsecret-1-0
- libhyphen0
- libgdk-pixbuf2.0-0
- libegl1
- libgles2
- libevent-2.1-6
- libnotify4
- libxslt1.1
- libvpx5
# gstreamer and plugins to support video playback in WebKit.
- gstreamer1.0-gl
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
# This is required to run chromium
- libgbm1
# this is needed for running headful tests
- xvfb
language: node_js
sudo: false
node_js:
- '14'
before_install:
# Info about OS
- uname
#- if [[ `node -v` = v14* ]]; then npm i -g npx; fi
- npx --version
# Enable user namespace cloning
- if [[ `uname` = "Linux" ]]; then sysctl kernel.unprivileged_userns_clone=1; fi
# Launch XVFB
- if [[ `uname` = "Linux" ]]; then export DISPLAY=:99.0; fi
before_script:
- npm install --no-save [email protected]
script:
- node --version
- npm --version
- npx --version
- npm run build
- if [[ `uname` = "Linux" ]]; then xvfb-run --auto-servernum npm test; else npm test; fi
os:
- linux
#- osx
osx_image: xcode11.3