Commit e666eba 1 parent 25c6836 commit e666eba Copy full SHA for e666eba
File tree 1 file changed +15
-17
lines changed
1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
- sudo : required
3
- node_js :
4
- - node
5
-
6
- before_script :
7
- - " sudo chown root /opt/google/chrome/chrome-sandbox"
8
- - " sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
2
+ dist : bionic
9
3
10
- before_install :
11
- - export CHROME_BIN=chromium-browser
12
- - export DISPLAY=:99.0
13
- - sh -e /etc/init.d/xvfb start
4
+ services :
5
+ - xvfb # required for headless testing
14
6
15
- script : # the build step
16
- - node_modules/.bin/ng test --watch=false
7
+ node_js :
8
+ - lts/* # use lts version of node
17
9
10
+ addons :
11
+ chrome : stable
18
12
19
13
cache :
20
- yarn : true
21
- directories :
22
- - ./node_modules
23
- - ./.chrome/chromium
14
+ - npm
15
+
16
+ install :
17
+ - npm set progress=false
18
+ - npm install
19
+
20
+ script :
21
+ - ./node_modules/.bin/ng test --watch=false # run the test
You can’t perform that action at this time.
0 commit comments