<commit_before>general:
  branches:
    only:
      - master
      - /^__release-.*/

machine:
  xcode:
    version: 8.3

dependencies:
  cache_directories:
    - "node_modules"
    - "~/.electron"

  pre:
    - brew upgrade node
    - npm install -g npm
    - npm prune
    - node -v
    - npm -v
    - cd app && npm prune && cd ..

  override:
    - npm install
    - npm rebuild
    - npm ls --prod
    - npm ls --dev

compile:
  override:
    - npm run lint
    - npm run build:prod

test:
  override:
    - npm run test:setup
    - npm test<commit_msg>Check prettiness too<commit_after>general:
  branches:
    only:
      - master
      - /^__release-.*/

machine:
  xcode:
    version: 8.3

dependencies:
  cache_directories:
    - "node_modules"
    - "~/.electron"

  pre:
    - brew upgrade node
    - npm install -g npm
    - npm prune
    - node -v
    - npm -v
    - cd app && npm prune && cd ..

  override:
    - npm install
    - npm rebuild
    - npm ls --prod
    - npm ls --dev

compile:
  override:
    - npm run check-prettiness
    - npm run lint
    - npm run build:prod

test:
  override:
    - npm run test:setup
    - npm test
{'fraction_non_alphanumeric': 0.11284722222222222, 'fraction_numerical': 0.003472222222222222, 'mean_word_length': 1.5910112359550561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6359646', 'n_tokens_mistral': 446, 'n_tokens_neox': 404, 'n_words': 120}