mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 13:18:40 +08:00
25 lines
303 B
YAML
25 lines
303 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- "8"
|
|
- "10"
|
|
|
|
env:
|
|
matrix:
|
|
- TEST_TYPE=ci
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- xvfb
|
|
|
|
install:
|
|
- export DISPLAY=':99.0'
|
|
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
- npm install
|
|
|
|
script:
|
|
- |
|
|
if [ "$TEST_TYPE" = ci ]; then
|
|
npm run ci
|
|
fi |