--- language: node_js node_js: - "10" dist: trusty addons: chrome: stable apt: packages: - xvfb cache: yarn: true env: global: # See https://git.io/vdao3 for details. - JOBS=1 branches: only: - master before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$PATH install: - yarn install --non-interactive - cd electron-app && yarn install --non-interactive - export DISPLAY=':99.0' - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & script: - yarn lint:hbs - yarn lint:js - yarn test