antv-l7/.travis.yml

26 lines
318 B
YAML
Executable File

language: node_js
node_js:
- "12"
env:
matrix:
- TEST_TYPE=ci
addons:
apt:
packages:
- xvfb
- libgconf-2-4
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