<commit_before>language: java
jdk: oraclejdk8

notifications:
  email: false

branches:
  only:
    - master
    - dev

# addons:
before_install:
  - cd Orderys
  - mvn install:install-file -Dfile=src/lib/ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0 -Dpackaging=jar
# install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# before_script:
script:
  - mvn test -B
# before_cache:
# after_success:
# after_failure:
# before_deploy:
# after_deploy:
# after_script:

deploy:
  skip_cleanup: true
  <commit_msg>trying out travis build stages with sonarcloud<commit_after>language: java
# sudo: false
jdk: oraclejdk8

notifications:
  email: false
  # slack:

branches:
  only:
    - master
    - dev

cache:
  directories:
    - '$HOME/.m2/repository'
    - '$HOME/.sonar/cache'

addons:
      

jobs:
  include:
    - stage: test
      before_install:
        - cd Orderys
        - mvn install:install-file -Dfile=src/lib/ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0 -Dpackaging=jar
      script: mvn test -B
    - stage: test
      addons:
        sonarcloud:
          organization: "960fb8b985ac055761700793ae7c90c5"
          token: $SONARCLOUD_TOKEN
      script: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
      



install: true
script: skip

# before_install:
#   - cd Orderys
#   - mvn install:install-file -Dfile=src/lib/ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0 -Dpackaging=jar
# install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# before_script:
# script:
#   - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
#   - mvn test -B
# before_cache:
# after_success:
# after_failure:
# before_deploy:
# after_deploy:
# after_script:

# deploy:
#   skip_cleanup: true
{'fraction_non_alphanumeric': 0.11256117455138662, 'fraction_numerical': 0.02392604676454595, 'mean_word_length': 3.2990654205607477, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3978378', 'n_tokens_mistral': 739, 'n_tokens_neox': 682, 'n_words': 140}