<commit_before>language: java
jdk:
  - oraclejdk8

branches:
  only:
    - master
    - coverity_scan

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: never
    on_failure: always

env:
  global:
   # COVERITY_SCAN_TOKEN
   - secure: "<KEY>
   # OSSRH_USER
   - secure: "<KEY>
   # OSSRH_PASS
   - secure: "<KEY>

before_install:
  - 'echo ${TRAVIS_TAG} - ${TRAVIS_PULL_REQUEST} - ${TRAVIS_BUILD_NUMBER}'
  - 'if [ -z "${TRAVIS_TAG}" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then ./snapshot_version.sh ${TRAVIS_BUILD_NUMBER}; fi'

after_success:
  - 'echo Done building'
  - 'if [ -n "${TRAVIS_TAG}" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then mvn deploy -DskipTests --settings deploy.xml; fi'

addons:<commit_msg>Notify on slack when build is done<commit_after>language: java
jdk:
  - oraclejdk8

branches:
  only:
    - master
    - coverity_scan

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: never
    on_failure: always
  slack:
    secure: <KEY>

env:
  global:
   # COVERITY_SCAN_TOKEN
   - secure: "<KEY>
   # OSSRH_USER
   - secure: "<KEY>
   # OSSRH_PASS
   - secure: "<KEY>

before_install:
  - 'echo ${TRAVIS_TAG} - ${TRAVIS_PULL_REQUEST} - ${TRAVIS_BUILD_NUMBER}'
  - 'if [ -z "${TRAVIS_TAG}" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then ./snapshot_version.sh ${TRAVIS_BUILD_NUMBER}; fi'

after_success:
  - 'echo Done building'
  - 'if [ -n "${TRAVIS_TAG}" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then mvn deploy -DskipTests --settings deploy.xml; fi'

addons:
{'fraction_non_alphanumeric': 0.14921465968586387, 'fraction_numerical': 0.0013089005235602095, 'mean_word_length': 3.2709497206703912, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '4169147', 'n_tokens_mistral': 612, 'n_tokens_neox': 606, 'n_words': 128}