<commit_before>language: java

jdk:
  - openjdk8<commit_msg>Added test coverage reporting for codacy to .travis.yml<commit_after>language: java

jdk:
  - openjdk8

before_install:
  - sudo apt-get install jq
  - wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url)

after_success:
  - java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r build/reports/jacoco/test/jacocoTestReport.xml
{'fraction_non_alphanumeric': 0.11806797853309481, 'fraction_numerical': 0.005366726296958855, 'mean_word_length': 4.544554455445544, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6217307', 'n_tokens_mistral': 211, 'n_tokens_neox': 201, 'n_words': 36}