language: node_js
services:
  - mongodb
sudo: false
cache:
  yarn: true
notifications:
  email: false
node_js:
  - '6'
before_script:
  - yarn global add codecov
  - pip install mkdocs --user
script:
  - yarn run lint
  - yarn run lint-messages
  - yarn run build
  - mkdocs build
after_success:
  - npm run semantic-release
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
