<commit_before>build:
  type: build
  node: www   # name of node to use. unique per-project
  commands:
    - lein deps:
        pwd: backend
    - lein midje:
        pwd: backend
    
  on-success: deploy # another build to trigger if this one is successful
  notify-email:   # list of people to email about build results. Recognized keys, :committer, :owner, or email literals.
    - :committer
    - :owner

deploy:
  type: deploy

  commands:
    - lein deps:
        pwd: backend
    - lein daemon start ":web":
        pwd: backend
        environment:
          CIRCLE_ENV: "production"
          SWANK: "true"
    - sudo /etc/init.d/nginx start
<commit_msg>Run midje tests in staging<commit_after>build:
  type: build
  node: www   # name of node to use. unique per-project
  commands:
    - lein deps:
        pwd: backend
    - lein midje:
        pwd: backend
        environment:
          CIRCLE_ENV: "staging"
  on-success: deploy # another build to trigger if this one is successful
  notify-email:   # list of people to email about build results. Recognized keys, :committer, :owner, or email literals.
    - :committer
    - :owner

deploy:
  type: deploy

  commands:
    - lein deps:
        pwd: backend
    - lein daemon start ":web":
        pwd: backend
        environment:
          CIRCLE_ENV: "production"
          SWANK: "true"
    - sudo /etc/init.d/nginx start

{'fraction_non_alphanumeric': 0.08470926058865758, 'fraction_numerical': 0.0, 'mean_word_length': 2.1325842696629214, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4011414', 'n_tokens_mistral': 447, 'n_tokens_neox': 439, 'n_words': 151}