machine:
  environment:
    PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
dependencies:
  cache_directories:
    - ~/.cache/yarn
  pre:
    - nvm install 6
    - nvm install 7
  override:
    - nvm use 6 && yarn
test:
  override:
    - nvm use 6 && yarn start ci
    - nvm use 7 && yarn start ci
  post:
    - yarn run semantic-release || true

machine:
  environment:
    PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
dependencies:
  cache_directories:
    - ~/.cache/yarn
  pre:
    - nvm install 6
    - nvm install 7
  override:
    - nvm use 6 && yarn
test:
  override:
    - nvm use 6 && yarn start ci
    - nvm use 7 && yarn start ci
deployment:
  production:
    branch: master
    commands:
      - yarn run semantic-release || true

Fix release to only run on master branch
ci($release): Fix release to only run on master branch

Releases now only run on the master branch
