Skip to content
Snippets Groups Projects
circle.yml 1.01 KiB
Newer Older
  • Learn to ignore specific revisions
  • Cam Saul's avatar
    Cam Saul committed
      timezone:
        America/Los_Angeles
    
    Cam Saul's avatar
    Cam Saul committed
        version:
          oraclejdk8
    
        version: 4.4.7
    
      services:
        - docker
    
    Michael Hobbs's avatar
    Michael Hobbs committed
    dependencies:
    
      override:
        - lein deps
    
        - npm install -g 'yarn@>=0.16.0'
    
    Tom Robinson's avatar
    Tom Robinson committed
        # Forces the Sauce Connect binary to be downloaded during dependencies phase so it's cached
    
        - SAUCE_CONNECT_DOWNLOAD_ON_INSTALL=true yarn
    
    Cam Saül's avatar
    Cam Saül committed
        - mkdir plugins
    
      cache_directories:
        - "~/.yarn"
        - "~/.yarn-cache"
    
    database:
      post:
    
        # MySQL doesn't load named timezone information automatically, you have to run this command to load it
    
        # TODO - we only really need to do this step if we're testing against MySQL
    
        - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u ubuntu mysql
    
    Cam Saul's avatar
    Cam Saul committed
    test:
      override:
    
        - ./bin/ci:
    
    Cam Saul's avatar
    Cam Saul committed
            parallel: true
    
    Michael Hobbs's avatar
    Michael Hobbs committed
    deployment:
      master:
        branch: master
        commands:
    
          - ./bin/deploy-webhook $DEPLOY_WEBHOOK
    
    general:
      artifacts:
    
    Tom Robinson's avatar
    Tom Robinson committed
        - target/uberjar/metabase.jar
        - screenshots
    
    experimental:
      notify:
        branches:
          only:
            - master
            - /release-.*/