language: node_js

node_js:
  - 8
  - 7
  - 6

before_install: yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update

script:
  - npm run test
  - npm run build

after_script: greenkeeper-lockfile-upload
after_success: 'npm run coveralls'

notifications:
  email:
    on_success: change
    on_failure: always

#cache:
  #  directories:
    #    - node_modules
