language: node_js
node_js:
  - 'stable'
before_script:
  - npm prune
jobs:
  include:
    - stage: test
      script:
        - echo "Testing Started ..."
        - echo "Linting ..." && npm run lint:check
        - echo "Code Coverage and Test ..." && npm run test:coverage
        - echo "Create Documentation ..." && npm run docs
after-success:
  - echo "Semantic Release Deployment .."
  - npm run semantic-release
branches:
  only:
    - master
notifications:
  email: false
