dist: xenial

language: node_js

addons:
  apt:
    packages:
      - chromium-browser

node_js:
  - lts/*
  - node

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s
  - export PATH=$HOME/.yarn/bin:$PATH
  - export NODE_OPTIONS=--max_old_space_size=4096

script:
  - yarn lint
  - yarn audit
  - yarn test --code-coverage
  - yarn build

after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

dist: xenial

language: node_js

addons:
  apt:
    packages:
      - chromium-browser

node_js:
  - lts/*
  - node

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s
  - export PATH=$HOME/.yarn/bin:$PATH

script:
  - yarn lint
  - yarn audit
  - yarn test --code-coverage
  - yarn build

after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

Revert "export NODE_OPTIONS to improve build time"
Revert "export NODE_OPTIONS to improve build time"

This reverts commit d0a7be4d
