language: node_js
cache:
  yarn: true
  directories:
    - node_modules
notifications:
  email: false
node_js:
  - '8.16'
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
before_install:
  - yarn global add greenkeeper-lockfile@1
  - yarn global add codecov
install:
  - yarn
before_script:
  - greenkeeper-lockfile-update
script:
  - yarn style
  - yarn test:ci
  - codecov
after_script:
  - greenkeeper-lockfile-upload
after_success:
  - bash <(curl -s https://codecov.io/bash)
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
