<commit_before>language: scala

jdk:
  - oraclejdk8

stages:
  - name: test
  - name: release
    if: (branch = master AND type = push) OR (tag IS present)

jobs:
  include:
    - env: TEST="scalafmt"
      script: ./scalafmt --test
    - env: TEST="2.11"
      script: sbt ci-test
    - env: TEST="2.12"
      script: sbt ci-test
    - stage: release
      script: sbt ci-release
    - env:
        - GH_NAME=scalafmt-bot
        - GH_EMAIL=<EMAIL>
      stage: release
      script:
        - git config --global user.name "${GH_NAME}"
        - git config --global user.email "${GH_EMAIL}"
        - echo "machine github.com login ${GH_NAME} password ${GITHUB_DEPLOY_KEY}" > ~/.netrc
        - GIT_USER="${GH_NAME}" sbt docusaurusPublishGhPages

cache:
  directories:
    - $HOME/.sbt
    - $HOME/.ivy2/cache
    - $HOME/.coursier
    - target/repos<commit_msg>Fix typo<commit_after>language: scala

jdk:
  - oraclejdk8

stages:
  - name: test
  - name: release
    if: (branch = master AND type = push) OR (tag IS present)

jobs:
  include:
    - env: TEST="scalafmt"
      script: ./scalafmt --test
    - env: TEST="2.11"
      script: sbt ci-test
    - env: TEST="2.12"
      script: sbt ci-test
    - stage: release
      script: sbt ci-release
    - env:
        - GH_NAME=scalafmt-bot
        - GH_EMAIL=<EMAIL>
      stage: release
      script:
        - git config --global user.name "${GH_NAME}"
        - git config --global user.email "${GH_EMAIL}"
        - echo "machine github.com login ${GH_NAME} password ${GITHUB_DEPLOY_KEY}" > ~/.netrc
        - GIT_USER="${GH_NAME}" sbt docusaurusPublishGhpages

cache:
  directories:
    - $HOME/.sbt
    - $HOME/.ivy2/cache
    - $HOME/.coursier
    - target/repos
{'fraction_non_alphanumeric': 0.13580963435867674, 'fraction_numerical': 0.009286128845037725, 'mean_word_length': 2.1007194244604315, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1714806', 'n_tokens_mistral': 649, 'n_tokens_neox': 620, 'n_words': 148}