language: node_js

branches:
  only:
    - master
    - /^greenkeeper/.*$/

cache: yarn

node_js:
  - '4'

before_install: yarn global add greenkeeper-lockfile@1

before_script: greenkeeper-lockfile-update

script: yarn run test

after_script: greenkeeper-lockfile-upload

after_success:
  - yarn global add semantic-release
  - semantic-release pre && npm publish && semantic-release post

language: node_js

branches:
  only:
    - master
    - /^greenkeeper/.*$/

cache: yarn

node_js:
  - '8'
  - '4'

before_install: yarn global add greenkeeper-lockfile@1

before_script: greenkeeper-lockfile-update

script: yarn run test

after_script: greenkeeper-lockfile-upload

after_success:
  - yarn global add semantic-release
  - semantic-release pre && npm publish && semantic-release post

Enable node.js 8 builds for semantic-release
ci: Enable node.js 8 builds for semantic-release
