g6/.travis.yml
2020-02-25 21:37:39 +08:00

22 lines
369 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 &
- rm -rf node_modules npm install
script:
- npm run ci && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage