File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change 1
1
dist : trusty
2
2
sudo : false
3
+
3
4
language : node_js
4
5
node_js :
5
6
- " 8"
6
- os :
7
- - linux
8
- before_install :
9
- # Use a virtual display.
10
- - export DISPLAY=:99.0
11
- - sh -e /etc/init.d/xvfb start
12
- # Install latest chrome.
13
- - export CHROME_BIN=chromium-browser
7
+
8
+ addons :
9
+ apt :
10
+ sources :
11
+ - google-chrome
12
+ packages :
13
+ - google-chrome-stable
14
+
15
+ cache :
16
+ directories :
17
+ - ./node_modules
18
+
14
19
install :
15
- - npm install --no-progress
20
+ - npm install
21
+
16
22
script :
17
- - npm run lint
18
- - npm run test -- --no-progress --code-coverage --single-run -- browser=ChromeNoSandbox
19
- - npm run e2e -- --no-progress
20
- - npm run coverage
23
+ # Use Chromium instead of Chrome.
24
+ - export CHROME_BIN=chromium- browser
25
+ - xvfb-run -a npm run test -- --no-progress --single-run --code-coverage --browser=ChromeNoSandbox
26
+ - xvfb-run -a npm run e2e -- --no-progress
You can’t perform that action at this time.
0 commit comments