language: node_js os: linux sudo: required dist: trusty addons: apt: packages: - mesa-utils - xvfb - libgl1-mesa-dri - libglapi-mesa - libosmesa6 node_js: - '12' env: - NODE_ENV=test before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH="$HOME/.yarn/bin:$PATH" install: - export DISPLAY=':99.0' - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - yarn install before_script: - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start script: - yarn lint - yarn test - yarn build notifications: webhooks: https://oapi.dingtalk.com/robot/send?access_token=2dacc76d8b1ea8bcdc792b50f103d13efdba9ef53ec0caeb70631bc3add56118