<commit_before>assets:
  settings.xml: "yegor256/home#assets/jcabi/settings.xml"
  pubring.gpg: "yegor256/home#assets/pubring.gpg"
  secring.gpg: "yegor256/home#assets/secring.gpg"
  s3cfg: "yegor256/home#assets/s3cfg"

env:
  MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"

install: |
  sudo gem install pdd
  # https://github.com/FontCustom/fontcustom
  sudo apt-get install fontforge
  wget http://people.mozilla.com/~jkew/woff/woff-code-latest.zip
  unzip woff-code-latest.zip -d sfnt2woff
  cd sfnt2woff
  make
  sudo mv sfnt2woff /usr/local/bin/
  sudo gem install fontcustom

merge:
  script: |
    mvn clean install -Pqulice --errors --settings ../settings.xml
    pdd --source=$(pwd) --verbose --file=/dev/null

deploy:
  script: |
    mvn clean deploy -Pqulice --errors --settings ../settings.xml
    mvn clean
    pdd --source=$(pwd) --verbose --file=jcabi-maven-skin.xml
    s3cmd --no-progress put jcabi-maven-skin.xml --config=../s3cfg s3://pdd.teamed.io/jcabi-maven-skin.xml

release:
  script: |
    mvn versions:set "-DnewVersion=${tag}"
    git commit -am "${tag}"
    mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml
    mvn clean site-deploy -Psite --errors --settings ../settings.xml<commit_msg>#4 rultor cfg<commit_after>assets:
  settings.xml: "yegor256/home#assets/jcabi/settings.xml"
  pubring.gpg: "yegor256/home#assets/pubring.gpg"
  secring.gpg: "yegor256/home#assets/secring.gpg"
  s3cfg: "yegor256/home#assets/s3cfg"

env:
  MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"

install: |
  sudo gem install pdd
  # https://github.com/FontCustom/fontcustom
  sudo apt-get install fontforge
  wget http://people.mozilla.com/~jkew/woff/woff-code-latest.zip
  unzip woff-code-latest.zip -d sfnt2woff
  cd sfnt2woff
  make
  sudo mv sfnt2woff /usr/local/bin/
  sudo gem install fontcustom

merge:
  script: |
    mvn clean install -Pqulice --errors --settings ../settings.xml
    pdd --source=$(pwd) --verbose --file=/dev/null

deploy:
  script: |
    mvn clean deploy -Pqulice --errors --settings ../settings.xml
    mvn clean
    pdd --source=$(pwd) --verbose --file=jcabi-maven-skin.xml
    s3cmd --no-progress put jcabi-maven-skin.xml --config=../s3cfg s3://pdd.teamed.io/jcabi-maven-skin.xml

release:
  script: |
    mvn versions:set "-DnewVersion=${tag}"
    git commit -am "${tag}"
    mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml
    mvn clean site-deploy -Psite --errors --settings ../settings.xml || echo 'site-deploy failed'
{'fraction_non_alphanumeric': 0.14791252485089462, 'fraction_numerical': 0.0194831013916501, 'mean_word_length': 3.138157894736842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 18}, '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': '556242', 'n_tokens_mistral': 1029, 'n_tokens_neox': 951, 'n_words': 202}