<commit_before>machine:
  node:
    version: 6
deployment:
  staging:
    branch: master
    commands:
      - |
        cat >~/.netrc <<EOF
        machine api.heroku.com
          login $HEROKU_EMAIL
          password $HEROKU_TOKEN
        machine git.heroku.com
          login $HEROKU_EMAIL
          password $<PASSWORD>_TOKEN
        EOF
      - chmod 600 ~/.netrc
      - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
      - DEPLOY_ENV=staging yarn deploy
  production:
    branch: release
    commands:
      - |
        cat >~/.netrc <<EOF
        machine api.heroku.com
          login $HEROKU_EMAIL
          password $<PASSWORD>_TOKEN
        machine git.heroku.com
          login $HEROKU_EMAIL
          password $<PASSWORD>
        EOF
      - chmod 600 ~/.netrc
      - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
      - DEPLOY_ENV=production yarn deploy
dependencies:
  override:
    - rm -rf node_modules/electron
    - rm -rf node_modules/electron-download
    - npm install electron
    - yarn install
test:
  override:
    - "gem install danger --version '~> 4.0' && danger"
    - yarn test:
        parallel: true<commit_msg>Check-in ArtsyOpenSource token for Danger<commit_after>machine:
  node:
    version: 6
deployment:
  staging:
    branch: master
    commands:
      - |
        cat >~/.netrc <<EOF
        machine api.heroku.com
          login $HEROKU_EMAIL
          password $HEROKU_TOKEN
        machine git.heroku.com
          login $HEROKU_EMAIL
          password $<PASSWORD>OKU_TOKEN
        EOF
      - chmod 600 ~/.netrc
      - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
      - DEPLOY_ENV=staging yarn deploy
  production:
    branch: release
    commands:
      - |
        cat >~/.netrc <<EOF
        machine api.heroku.com
          login $HEROKU_EMAIL
          password $<PASSWORD>OKU_TOKEN
        machine git.heroku.com
          login $HEROKU_EMAIL
          password $<PASSWORD>
        EOF
      - chmod 600 ~/.netrc
      - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
      - DEPLOY_ENV=production yarn deploy
dependencies:
  override:
    - rm -rf node_modules/electron
    - rm -rf node_modules/electron-download
    - npm install electron
    - yarn install
test:
  override:
    - "gem install danger --version '~> 4.0' && DANGER_GITHUB_API_TOKEN=<PASSWORD> danger"
    - yarn test:
        parallel: true
{'fraction_non_alphanumeric': 0.1145374449339207, 'fraction_numerical': 0.007208650380456548, 'mean_word_length': 1.861397479954181, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4168158', 'n_tokens_mistral': 841, 'n_tokens_neox': 800, 'n_words': 196}