1 | sudo: required
|
2 | language: node_js
|
3 | cache:
|
4 | directories:
|
5 | - "node_modules"
|
6 | node_js:
|
7 | - 'node'
|
8 | - '8'
|
9 | install:
|
10 | - nvm install 8
|
11 | - nvm alias default 8
|
12 | - npm install
|
13 | before_script:
|
14 | - sudo chown root /opt/google/chrome/chrome-sandbox
|
15 | - sudo chmod 4755 /opt/google/chrome/chrome-sandbox
|
16 | - export DISPLAY=:99.0
|
17 | - sh -e /etc/init.d/xvfb start
|
18 | script:
|
19 | - npm run ci |
\ | No newline at end of file |