mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
22 lines
304 B
YAML
22 lines
304 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- '10'
|
|
|
|
env:
|
|
- NODE_ENV=test
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- xvfb
|
|
- libgconf-2-4
|
|
|
|
install:
|
|
- export DISPLAY=':99.0'
|
|
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
- npm install
|
|
|
|
script:
|
|
- npm run ci && cat ./coverage/lcov.info | rm -rf ./coverage
|