<commit_before>reference-jdk: &reference-jdk
  'JDK="adopt@1.8"'
reference-os: &reference-os
  'linux'
language: bash
git:
  depth: false
arch:
  - amd64
os:
# OSX dropped due to jabba not installing JDK6 correctly
#  - osx
  - windows
  - *reference-os
dist: bionic
stages:
  - check
  - test
  - deploy
env:
  global:
    - TERM=dumb
    - GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
    - PUBLISH="false"
    - NO_WIN_DEFENDER=$(curl "${GRAVIS}.disable-windows-defender.sh" --output .no-defender.sh && source .no-defender.sh)
  matrix:
    - *reference-jdk
    - JDK="adopt-openj9@1.8"
    - JDK="adopt@1.9"
    - JDK="adopt@1.10"
    - JDK="adopt@1.11"
    - JDK="adopt-openj9@1.11"
    - JDK="adopt@1.12"
    - JDK="adopt-openj9@1.12"
matrix:
  exclude:
    - os: *reference-os
      env: *reference-jdk
jobs:
  include:
    - stage: check
      name: "Compile, check, test on reference JDK"
      os: *reference-os
      env:
        - *reference-jdk
      script:
        - ./gradlew clean check
    - stage: deploy
      name: "Preparation of reports and deployment"
      os: *reference-os
      env:
        - PUBLISH="true"
        - *reference-jdk
        # Signing
        - secure: "<KEY>
        # Central
        - secure: "<KEY>
        - secure: "<KEY>
      install:
        - openssl aes-256-cbc -K $encrypted_ae2fe9b21dcc_key -iv $encrypted_ae2fe9b21dcc_iv -in secrets.asc.enc -out secrets.asc -d
        - export ORG_GRADLE_PROJECT_signingKey=$(cat secrets.asc)
        - rm secrets.asc
      script:
        - ./gradlew sign
      after_success:
        - travis_wait 40 ./gradlew publishAll -x test
before_install:
  - curl "${GRAVIS}.disable-windows-defender.sh" --output .disable-windows-defender.sh
  - source .disable-windows-defender.sh
  - curl "${GRAVIS}.install-jdk-travis.sh" --output .install-jdk-travis.sh
  - source .install-jdk-travis.sh
  - export JAVA6_JDK=$($jabba ls-remote | grep -m1 1.6)
  - [ -z "$JAVA6_JDK" ] && echo unable to compute JAVA6 version from && $jabba ls-remote && exit 1
  - echo Selected JDK6: $JAVA6_JDK
  - $jabba install $JAVA6_JDK
  - $jabba use $JAVA6_JDK
  - echo setting ORG_GRADLE_PROJECT_java6Home to $JAVA_HOME
  - export ORG_GRADLE_PROJECT_java6Home=$JAVA_HOME
  - $jabba use $ACTUAL_JDK
script:
  - ./gradlew test
before_cache:
  - curl "${GRAVIS}.clean_gradle_cache.sh" --output .clean_gradle_cache.sh
  - bash .clean_gradle_cache.sh
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/<commit_msg>Try to fix yml error<commit_after>reference-jdk: &reference-jdk
  'JDK="adopt@1.8"'
reference-os: &reference-os
  'linux'
language: bash
git:
  depth: false
arch:
  - amd64
os:
# OSX dropped due to jabba not installing JDK6 correctly
#  - osx
  - windows
  - *reference-os
dist: bionic
stages:
  - check
  - test
  - deploy
env:
  global:
    - TERM=dumb
    - GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
    - PUBLISH="false"
    - NO_WIN_DEFENDER=$(curl "${GRAVIS}.disable-windows-defender.sh" --output .no-defender.sh && source .no-defender.sh)
  matrix:
    - *reference-jdk
    - JDK="adopt-openj9@1.8"
    - JDK="adopt@1.9"
    - JDK="adopt@1.10"
    - JDK="adopt@1.11"
    - JDK="adopt-openj9@1.11"
    - JDK="adopt@1.12"
    - JDK="adopt-openj9@1.12"
matrix:
  exclude:
    - os: *reference-os
      env: *reference-jdk
jobs:
  include:
    - stage: check
      name: "Compile, check, test on reference JDK"
      os: *reference-os
      env:
        - *reference-jdk
      script:
        - ./gradlew clean check
    - stage: deploy
      name: "Preparation of reports and deployment"
      os: *reference-os
      env:
        - PUBLISH="true"
        - *reference-jdk
        # Signing
        - secure: "<KEY>
        # Central
        - secure: "<KEY>
        - secure: "<KEY>
      install:
        - openssl aes-256-cbc -K $encrypted_ae2fe9b21dcc_key -iv $encrypted_ae2fe9b21dcc_iv -in secrets.asc.enc -out secrets.asc -d
        - export ORG_GRADLE_PROJECT_signingKey=$(cat secrets.asc)
        - rm secrets.asc
      script:
        - ./gradlew sign
      after_success:
        - travis_wait 40 ./gradlew publishAll -x test
before_install:
  - curl "${GRAVIS}.disable-windows-defender.sh" --output .disable-windows-defender.sh
  - source .disable-windows-defender.sh
  - curl "${GRAVIS}.install-jdk-travis.sh" --output .install-jdk-travis.sh
  - source .install-jdk-travis.sh
  - export JAVA6_JDK=$($jabba ls-remote | grep -m1 1.6)
  - '[ -z "$JAVA6_JDK" ] && echo unable to compute JAVA6 version from && $jabba ls-remote && exit 1'
  - 'echo Selected JDK6: $JAVA6_JDK'
  - $jabba install $JAVA6_JDK
  - $jabba use $JAVA6_JDK
  - echo setting ORG_GRADLE_PROJECT_java6Home to $JAVA_HOME
  - export ORG_GRADLE_PROJECT_java6Home=$JAVA_HOME
  - $jabba use $ACTUAL_JDK
script:
  - ./gradlew test
before_cache:
  - curl "${GRAVIS}.clean_gradle_cache.sh" --output .clean_gradle_cache.sh
  - bash .clean_gradle_cache.sh
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
{'fraction_non_alphanumeric': 0.13734415198891747, 'fraction_numerical': 0.020977637047298634, 'mean_word_length': 2.4879227053140096, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '557534', 'n_tokens_mistral': 2075, 'n_tokens_neox': 1938, 'n_words': 385}