sudo: required

language: node_js

node_js:
  - lts/*
  - node

before_install:
  - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
  - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  - sudo apt-get update -qq
  - sudo apt-get install -y -qq yarn

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

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

sudo: required

language: node_js

node_js:
  - lts/*
  - node

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

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

Remove before_install, does not work as expected
Remove before_install, does not work as expected
