<commit_before>language: generic

services:
- docker
env:
  global:
  - LENSES_CLI_VERSION=2.2.3 CONFLUENT_VERSION=5.1.0 KAFKA_VERSION=2.1.0
  - secure: <KEY>
  - secure: <KEY>

before_install:
  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - sudo apt-get update
  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
jobs:
  include:
  - stage: Build
    branches:
      except:
        - master
    script: bash ./build-dockers ${TRAVIS_TAG} ${CONFLUENT_VERSION} ${KAFKA_VERSION} ${LENSES_CLI_VERSION}
  - stage: Publish
    deploy:
      on:
        tags: true
      provider: script
      script: bash ./publish-dockers ${TRAVIS_TAG} ${CONFLUENT_VERSION} ${KAFKA_VERSION} ${LENSES_CLI_VERSION}<commit_msg>Use travis build number for feature branchs<commit_after>language: generic

services:
- docker
env:
  global:
  - LENSES_CLI_VERSION=2.2.3 CONFLUENT_VERSION=5.1.0 KAFKA_VERSION=2.1.0
  - secure: <KEY>
  - secure: <KEY>

before_install:
  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - sudo apt-get update
  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
jobs:
  include:
  - stage: Build
    branches:
      except:
        - master
    script: bash ./build-dockers ${TRAVIS_BUILD_NUMBER} ${CONFLUENT_VERSION} ${KAFKA_VERSION} ${LENSES_CLI_VERSION}
  - stage: Publish
    deploy:
      on:
        tags: true
      provider: script
      script: bash ./publish-dockers ${TRAVIS_TAG} ${CONFLUENT_VERSION} ${KAFKA_VERSION} ${LENSES_CLI_VERSION}
{'fraction_non_alphanumeric': 0.13466889259877574, 'fraction_numerical': 0.012242626599888704, 'mean_word_length': 3.3117505995203835, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '43053', 'n_tokens_mistral': 697, 'n_tokens_neox': 655, 'n_words': 139}