general:
  branches:
    only:
      - master
      - staging
      - /(feature|hotfix|release)\/.*/

machine:
  environment:
    RAILS_ENV: ci
    NODE_ENV: test
    BUNDLE_WITHOUT: development

dependencies:
  override:
    - bin/setup

test:
  override:
    - bin/test

deployment:
  staging:
    branch: staging
    heroku:
      appname: $HEROKU_APP_NAME

  # production:
  #   branch: master
  #   commands:
  #     - ./deploy_prod.sh

general:
  branches:
    only:
      - master
      - staging
      - /(feature|hotfix|release)\/.*/

machine:
  ruby:
    version: 2.4.2
  node:
    version: 8.5.0
  environment:
    RAILS_ENV: ci
    NODE_ENV: test
    BUNDLE_WITHOUT: development

dependencies:
  override:
    - bin/setup

test:
  override:
    - bin/test

deployment:
  staging:
    branch: staging
    heroku:
      appname: $HEROKU_APP_NAME

  # production:
  #   branch: master
  #   commands:
  #     - ./deploy_prod.sh

Add explicit versions for Node and Ruby on Circle settings
Add explicit versions for Node and Ruby on Circle settings
