antv-l7/.travis.yml

34 lines
476 B
YAML
Raw Normal View History

2019-11-01 17:15:20 +08:00
language: node_js
os: linux
sudo: required
dist: trusty
addons:
apt:
packages:
- mesa-utils
- xvfb
- libgl1-mesa-dri
- libglapi-mesa
- libosmesa6
2019-11-01 17:15:20 +08:00
node_js:
2019-11-22 19:00:05 +08:00
- '12'
2019-11-21 23:27:01 +08:00
env:
- NODE_ENV=test
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
2019-11-21 10:07:00 +08:00
install:
- yarn install
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
2019-11-01 17:15:20 +08:00
script:
- yarn lint
- yarn test
- yarn build