machine:
  timezone:
    America/Los_Angeles
  java:
    version:
      oraclejdk8
  python:
    version: 2.7.3
  node:
    version: 4.4.7
dependencies:
  override:
    - lein deps
    - pip install awscli==1.7.3
    - npm install -g 'yarn@>=0.16.0'
    # Forces the Sauce Connect binary to be downloaded during dependencies phase so it's cached
    - SAUCE_CONNECT_DOWNLOAD_ON_INSTALL=true yarn
    - mkdir plugins
    - wget --output-document=plugins/ojdbc7.jar $ORACLE_JDBC_JAR
  cache_directories:
    - "~/.yarn"
    - "~/.yarn-cache"
database:
  post:
    # MySQL doesn't load named timezone information automatically, you have to run this command to load it
    - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u ubuntu mysql
test:
  override:
    - ./bin/ci:
        parallel: true
deployment:
  master:
    branch: master
    commands:
      - ./bin/deploy-webhook $DEPLOY_WEBHOOK
general:
  artifacts:
    - target/uberjar/metabase.jar
    - screenshots

machine:
  timezone:
    America/Los_Angeles
  java:
    version:
      oraclejdk8
  python:
    version: 2.7.3
  node:
    version: 4.4.7
dependencies:
  override:
    - lein deps
    - pip install awscli==1.7.3
    - npm install -g 'yarn@>=0.16.0'
    # Forces the Sauce Connect binary to be downloaded during dependencies phase so it's cached
    - SAUCE_CONNECT_DOWNLOAD_ON_INSTALL=true yarn
    - mkdir plugins
    - wget --output-document=plugins/ojdbc7.jar $ORACLE_JDBC_JAR
  cache_directories:
    - "~/.yarn"
    - "~/.yarn-cache"
database:
  post:
    # MySQL doesn't load named timezone information automatically, you have to run this command to load it
    - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u ubuntu mysql
test:
  override:
    - ./bin/ci:
        parallel: true
deployment:
  master:
    branch: master
    commands:
      - ./bin/deploy-webhook $DEPLOY_WEBHOOK
general:
  artifacts:
    - target/uberjar/metabase.jar
    - screenshots
experimental:
  notify:
    branches:
      only:
        - master
        - /release-.*/

Configure CircleCI to only notify on master and release-* branches
Configure CircleCI to only notify on master and release-* branches
