language: node_js
node_js:
  - "10"
  - "8"
  - "6"

branches:
  only:
  - master

script:
  - npm test

after_success:
  - npm run coveralls

sudo: false
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
  - export PATH=$HOME/.yarn/bin:$PATH
cache:
  yarn: true

language: node_js
node_js:
  - "10"
  - "8"
  - "6"

branches:
  only:
  - master

install: yarn install --ignore-engines

script:
  - npm test

after_success:
  - npm run coveralls

sudo: false
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
  - export PATH=$HOME/.yarn/bin:$PATH
cache:
  yarn: true

Add flag to ignore engines when installing dependencies with yarn
chore(CI): Add flag to ignore engines when installing dependencies with yarn
