sudo: required
dist: xenial
services:
  - xvfb
addons:
  chrome: stable

language: node_js
node_js:
  - "10"
  - "8"
cache:
  directories: node_modules

before_script:
  - npm rebuild node-sass
  - npm install -g coveralls
  - npm install -g codecov

script:
  - npm run lint
  - npm run flow
  - npm run test:coverage
  - cat coverage/lcov.info | coveralls
  - codecov
  - npm run build

sudo: required
dist: xenial
services:
  - xvfb
addons:
  chrome: stable

language: node_js
node_js:
  - "12"
  - "10"
cache:
  directories: node_modules

before_script:
  - npm rebuild node-sass
  - npm install -g coveralls
  - npm install -g codecov

script:
  - npm run lint
  - npm run flow
  - npm run test:coverage
  - cat coverage/lcov.info | coveralls
  - codecov
  - npm run build

Drop Node v8 and add v12 for CI
Drop Node v8 and add v12 for CI
