<commit_before>language: java
git:
    depth: 9999999
jdk:
    - oraclejdk8

env:
    # disable gradle daemon
    - GRADLE_OPTS="-Dorg.gradle.daemon=false"

# gradle cache
before_cache:
    - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
    - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
    directories:
        - $HOME/.gradle/caches/
        - $HOME/.gradle/wrapper/

install:
    - ./gradlew build

script:
    - ./gradlew jacocoTestReport

after_success:
    - bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy<commit_msg>Add matrix to travis to sepate javadoc and library testing<commit_after>language: java
git:
    depth: 9999999
jdk:
    - oraclejdk8

env:
    global:
    # disable gradle daemon
    - GRADLE_OPTS="-Dorg.gradle.daemon=false"
    matrix:
    ## javadoc compilance testing
    - TYPE=javadoc
    ## library testing
    - TYPE=test

# gradle cache
before_cache:
    - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
    - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
    directories:
        - $HOME/.gradle/caches/
        - $HOME/.gradle/wrapper/

install:
    - ./gradlew assemble

script:
    - if [[ $TYPE == javadoc ]]; then
          ./gradlew javadoc;
      elif [[ $TYPE == test ]]; then
          ./gradlew jacocoTestReport;
      else
          echo "Test type not recognized $TYPE";
          exit 1;
      fi

after_success:
    - bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy
{'fraction_non_alphanumeric': 0.12804878048780488, 'fraction_numerical': 0.014227642276422764, 'mean_word_length': 2.246153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '7335575', 'n_tokens_mistral': 558, 'n_tokens_neox': 511, 'n_words': 117}