machine:
  node:
    version: 6.1.0
dependencies:
  post:
    - npm run lint
    - npm run build
test:
  override:
    - NODE_ENV=test npm test -- --reporters junit,coverage
    - mv TESTS*.xml $CIRCLE_TEST_REPORTS/
  post:
    - bash <(curl -s https://codecov.io/bash)
general:
  artifacts:
    - dist
deployment:
  dev:
    branch: master
    commands:
      - ./deploy.sh
  release:
    # e.g. v1.2.3
    tag: /v[0-9]+(\.[0-9]+)*/
    owner: yunity
    commands:
      - ./deploy_tag.sh

machine:
  node:
    version: 6.1.0
dependencies:
  post:
    - npm run lint
    - npm run build
test:
  override:
    - NODE_ENV=test npm test -- --reporters junit,coverage
    - mv TESTS*.xml $CIRCLE_TEST_REPORTS/
  post:
    - bash <(curl -s https://codecov.io/bash)
general:
  artifacts:
    - dist
deployment:
  dev:
    branch: master
    owner: yunity
    commands:
      - ./deploy.sh
  release:
    # e.g. v1.2.3
    tag: /v[0-9]+(\.[0-9]+)*/
    owner: yunity
    commands:
      - ./deploy_tag.sh

Add "owner" to circlci config
Add "owner" to circlci config

Ensures it only runs for yunity org builds (i.e. not external PRs)
