<commit_before>dist: trusty
language: java
addons:
  apt:
    sources:
      - gnupg-agent
jdk:
- oraclejdk8
before_install:
- openssl aes-256-cbc -pass <PASSWORD>:$ENC_PWD -in secring.gpg.enc -out local.secring.gpg -d
- openssl aes-256-cbc -pass <PASSWORD>:$ENC_PWD -in pubring.gpg.enc -out local.pubring.gpg -d
- gpg-agent --homedir $HOME/.gnupg --use-standard-socket --daemon
- gpg --import local.secring.gpg
- gpg --import local.pubring.gpg

after_install:
- rm local.pubring.gpg
- rm local.secring.gpg

after_success:
- mvn clean -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID test jacoco:report coveralls:report

deploy:
  provider: releases
  api_key:
    secure: <KEY>
  file:
  - target/mochatemplate-0.0.6.jar
  - target/mochatemplate-0.0.6-javadoc.jar
  - target/mochatemplate-0.0.6-sources.jar
  on:
    tags: true
before_deploy:
- mvn install generate-sources javadoc:jar
after_deploy:
- mvn deploy --settings deploy-settings.xml
env:
  global:
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: ow+iSZqRBN1z6XvOm/9Zhp4gZdVIpSLqROMfLTrpcpN0PTtH2F+JwQZIno4r2ol5+Ut39doaVqDKZ1Kw9L+BW7atTWFbAWGYaAFKwEkc9z9OogPkNX+1xwfxie6/V7w9uyNTiDptU3mzAnJvBwYtJRl7nZeiN0tIPEsi6K7v85ce/OC5Yqt3U9mBK1y/THyxXohR3WKNdUcwHDggoVdmTMuBWPo5KixoanJNNcXmSGhDuSGGDhzbPAO4ejNfmbGm4QfxXQcfI51mXN+7kU+GJaYJlPyjI3vY+0T/8d7xpHz+D2H0IcWJTnoBWAC0SlVbOBdy0dm5ioskh5FvrEF4OZmkWZ+aNISOhyBFFOpHpHPK8hKwfwI807uDnzStFeWDKe4KgPqfGbYLPA+70XS1pis11vV1jVwJzb3JsMWAzg4KGPXfkTBWWxG/OTn97zpg+JYMxuNYGa2aQ6W24M4JdSi/7TxnyZtf6jyTJp8wyh+K9rDB8dcDblZmdnc6DMAK7pbwtIa9g5fV0WyaFQbroxcHFA7BumT6Wlce8+7IfuMQxbu6YMqIe64HQR6M3JxEvC2uec3myDX5zYny8iZd76JLEk7yyFyDwaVSbzKi9+nOkO2T9C9gzaZ7CpVONM5HPUBCUVKm5m578N0D0eAlbreMY49ccyZZURuZG3WGlhE=<commit_msg>Run gpg-agent before deploy<commit_after>dist: trusty
language: java
addons:
  apt:
    sources:
      - gnupg-agent
jdk:
- oraclejdk8
before_install:
- openssl aes-256-cbc -pass <PASSWORD>:$ENC_<PASSWORD> -in secring.gpg.enc -out local.secring.gpg -d
- openssl aes-256-cbc -pass <PASSWORD>:$ENC_<PASSWORD> -in pubring.gpg.enc -out local.pubring.gpg -d
- gpg-agent --homedir $HOME/.gnupg --use-standard-socket --daemon
- gpg --import local.secring.gpg
- gpg --import local.pubring.gpg

after_install:
- rm local.pubring.gpg
- rm local.secring.gpg

after_success:
- mvn clean -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID test jacoco:report coveralls:report

deploy:
  provider: releases
  api_key:
    secure: <KEY>
  file:
  - target/mochatemplate-0.0.6.jar
  - target/mochatemplate-0.0.6-javadoc.jar
  - target/mochatemplate-0.0.6-sources.jar
  on:
    tags: true
before_deploy:
- mvn generate-sources javadoc:jar
after_deploy:
- openssl aes-256-cbc -pass <PASSWORD>:$ENC_PWD -in secring.gpg.enc -out local.secring.gpg -d
- openssl aes-256-cbc -pass <PASSWORD>:$<PASSWORD> -in pubring.gpg.enc -out local.pubring.gpg -d
- gpg-agent --homedir $HOME/.gnupg --use-standard-socket --daemon
- gpg --import local.secring.gpg
- gpg --import local.pubring.gpg
- mvn deploy --settings deploy-settings.xml
env:
  global:
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
{'fraction_non_alphanumeric': 0.11555989583333333, 'fraction_numerical': 0.048177083333333336, 'mean_word_length': 4.477718360071301, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '43706', 'n_tokens_mistral': 1556, 'n_tokens_neox': 1483, 'n_words': 200}