jeffy-g/rm-cstyle-cmts

View on GitHub
wercker.yml

Summary

Maintainability
Test Coverage
# This references the default nodejs container from
# the Docker Hub: https://registry.hub.docker.com/_/node/
# If you want Nodesource's container you would reference nodesource/node
# Read more about containers on our dev center
# https://devcenter.wercker.com/overview-and-core-concepts/containers/
box: node
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# https://devcenter.wercker.com/development/pipelines/

# You can also use services such as databases. Read more on our dev center:
# https://devcenter.wercker.com/administration/services/
# services:
    # - postgres
    # https://devcenter.wercker.com/administration/services/examples/postgresql/

    # - mongo
    # https://devcenter.wercker.com/administration/services/examples/mongodb/
build:
  # The steps that will be executed on build
  # Steps make up the actions in your pipeline
  # Read more about steps on our dev center:
  # https://devcenter.wercker.com/development/steps/
  steps:
    # A step that executes `npm install` command
    #- npm-install
    # A step that executes `npm test` command
    #- npm-test

    # A custom script step, name value is used in the UI
    # and the code value contains the command that get executed
    - script:
        name: install and standard test
        code: |
          yarn install
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"
          yarn all && yarn bench && yarn test

grmc-batch-test:
  steps:
    - script:
      name: gulp-rm-cmts batch test
      code: |
        echo "node version $(node -v) running"
        echo "npm version $(npm -v) running"
        yarn grmc-test:cjs