<commit_before>x-packagecloud: &x-packagecloud
  provider: packagecloud
  username: cs50
  repository: repo
  token: $PACKAGECLOUD_TOKEN
  skip_cleanup: true
  on:
    branch: master

x-deb: &x-deb
  <<: *x-packagecloud
  local_dir: build/deb

x-rpm: &x-rpm
  <<: *x-packagecloud
  local_dir: build/rpm

branches:
  except: "/^v\\d/"
addons:
  apt:
    packages: rpm
before_install: gem install fpm
script:
  - make deb
  - make rpm
before_deploy: |
  if [ -z "$(git tag --list "v$(make version)")" ]; then \
      git config --local user.name "bot50"; \
      git config --local user.email "<EMAIL>"; \
      git tag "v$(make version)"; \
  fi
deploy:
  # Ubuntu
  # 12.04
  - <<: *x-deb
    dist: ubuntu/precise

  # 12.10
  - <<: *x-deb
    dist: ubuntu/quantal

  # 13.04
  - <<: *x-deb
    dist: ubuntu/raring

  # 13.10
  - <<: *x-deb
    dist: ubuntu/saucy

  # 14.04
  - <<: *x-deb
    dist: ubuntu/trusty

  # 14.10
  - <<: *x-deb
    dist: ubuntu/utopic

  # 15.04
  - <<: *x-deb
    dist: ubuntu/vivid

  # 15.10
  - <<: *x-deb
    dist: ubuntu/wily

  # 16.04
  - <<: *x-deb
    dist: ubuntu/xenial

  # 16.10
  - <<: *x-deb
    dist: ubuntu/yakkety

  # 17.04
  - <<: *x-deb
    dist: ubuntu/zesty

  # 17.10
  - <<: *x-deb
    dist: ubuntu/artful

  # 18.04
  - <<: *x-deb
    dist: ubuntu/bionic

  # 19.04
  - <<: *x-deb
    dist: ubuntu/disco

  # 19.10
  - <<: *x-deb
    dist: ubuntu/eoan

  # 20.04
  - <<: *x-deb
    dist: ubuntu/focal

# # 20.10
# - <<: *x-deb
#   dist: ubuntu/groovy

  # Fedora
  - <<: *x-rpm
    dist: fedora/24
  - <<: *x-rpm
    dist: fedora/25
  - <<: *x-rpm
    dist: fedora/26
  - <<: *x-rpm
    dist: fedora/27
  - <<: *x-rpm
    dist: fedora/28
  - <<: *x-rpm
    dist: fedora/29
  - <<: *x-rpm
    dist: fedora/30
  - <<: *x-rpm
    dist: fedora/31
  - <<: *x-rpm
    dist: fedora/32

  # GitHub release
  - provider: releases
    token: $GITHUB_TOKEN
    skip_cleanup: true
    on:
      branch: master
notifications:
  slack:
    secure: D2d4GpU6R9GDizy7zmfS4bPWgYFZ6snMlAWyQ8LfC1uA4ZgT99ktkwQRmtvvLRLrTM9snRCEJE5gm6z2NRmQLGfqJ6yIgdLYUCLRY3N+ZyR+MGHQBljwnqzFWdo2KaTcP96Q9vj09Mv28Pq3jcDt351FgXMDMKedfcW04lW4Qgw=<commit_msg>rename master to main [skip ci]<commit_after>x-packagecloud: &x-packagecloud
  provider: packagecloud
  username: cs50
  repository: repo
  token: $PACKAGECLOUD_TOKEN
  skip_cleanup: true
  on:
    branch: main

x-deb: &x-deb
  <<: *x-packagecloud
  local_dir: build/deb

x-rpm: &x-rpm
  <<: *x-packagecloud
  local_dir: build/rpm

branches:
  except: "/^v\\d/"
addons:
  apt:
    packages: rpm
before_install: gem install fpm
script:
  - make deb
  - make rpm
before_deploy: |
  if [ -z "$(git tag --list "v$(make version)")" ]; then \
      git config --local user.name "bot50"; \
      git config --local user.email "<EMAIL>"; \
      git tag "v$(make version)"; \
  fi
deploy:
  # Ubuntu
  # 12.04
  - <<: *x-deb
    dist: ubuntu/precise

  # 12.10
  - <<: *x-deb
    dist: ubuntu/quantal

  # 13.04
  - <<: *x-deb
    dist: ubuntu/raring

  # 13.10
  - <<: *x-deb
    dist: ubuntu/saucy

  # 14.04
  - <<: *x-deb
    dist: ubuntu/trusty

  # 14.10
  - <<: *x-deb
    dist: ubuntu/utopic

  # 15.04
  - <<: *x-deb
    dist: ubuntu/vivid

  # 15.10
  - <<: *x-deb
    dist: ubuntu/wily

  # 16.04
  - <<: *x-deb
    dist: ubuntu/xenial

  # 16.10
  - <<: *x-deb
    dist: ubuntu/yakkety

  # 17.04
  - <<: *x-deb
    dist: ubuntu/zesty

  # 17.10
  - <<: *x-deb
    dist: ubuntu/artful

  # 18.04
  - <<: *x-deb
    dist: ubuntu/bionic

  # 19.04
  - <<: *x-deb
    dist: ubuntu/disco

  # 19.10
  - <<: *x-deb
    dist: ubuntu/eoan

  # 20.04
  - <<: *x-deb
    dist: ubuntu/focal

# # 20.10
# - <<: *x-deb
#   dist: ubuntu/groovy

  # Fedora
  - <<: *x-rpm
    dist: fedora/24
  - <<: *x-rpm
    dist: fedora/25
  - <<: *x-rpm
    dist: fedora/26
  - <<: *x-rpm
    dist: fedora/27
  - <<: *x-rpm
    dist: fedora/28
  - <<: *x-rpm
    dist: fedora/29
  - <<: *x-rpm
    dist: fedora/30
  - <<: *x-rpm
    dist: fedora/31
  - <<: *x-rpm
    dist: fedora/32

  # GitHub release
  - provider: releases
    token: $GITHUB_TOKEN
    skip_cleanup: true
    on:
      branch: main
notifications:
  slack:
    secure: <KEY>
{'fraction_non_alphanumeric': 0.17044100119189512, 'fraction_numerical': 0.050774731823599525, 'mean_word_length': 2.053857350800582, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 0, '>': 6, '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': '1585396', 'n_tokens_mistral': 2174, 'n_tokens_neox': 1848, 'n_words': 360}