<commit_before>language: go

go:
  - 1.8.x

services:
  - docker

before_install:
  - set -e

script:
  - make
  - tar xfvz build/mqtt_blackbox_exporter-*.linux-amd64.tar.gz
  - ls -lA
  - make test

after_success:
  - |
    if [[ -n "${TRAVIS_TAG?}" || "${TRAVIS_BRANCH?}" == master ]]; then
      docker login -u "${DOCKER_USERNAME?}" -p "${DOCKER_PASSWORD?}"
      docker build -t "${DOCKER_BUILD_IMAGE?}" .

      version=""
      if [[ -n "${TRAVIS_TAG?}" ]]; then
        version="${TRAVIS_TAG?}"
      else
        version="${TRAVIS_COMMIT:0:7}"
      fi

      docker tag "${DOCKER_BUILD_IMAGE?}" "${DOCKER_BUILD_IMAGE?}:${version?}"
      docker push "${DOCKER_BUILD_IMAGE?}:${version?}"
    fi<commit_msg>show dev releases<commit_after>language: go

go:
  - 1.8.x

services:
  - docker

before_install:
  - set -e

script:
  - make
  - tar xfvz build/mqtt_blackbox_exporter-*.linux-amd64.tar.gz
  - ls -lA
  - make test

after_success:
  - |
    if [[ -n "${TRAVIS_TAG?}" || "${TRAVIS_BRANCH?}" == master ]]; then
      docker login -u "${DOCKER_USERNAME?}" -p "${DOCKER_PASSWORD?}"
      docker build -t "${DOCKER_BUILD_IMAGE?}" .

      version=""
      if [[ -n "${TRAVIS_TAG?}" ]]; then
        version="${TRAVIS_TAG?}"
      else
        version="${TRAVIS_COMMIT:0:7}-dev"
      fi

      docker tag "${DOCKER_BUILD_IMAGE?}" "${DOCKER_BUILD_IMAGE?}:${version?}"
      docker push "${DOCKER_BUILD_IMAGE?}:${version?}"
    fi
{'fraction_non_alphanumeric': 0.18289290681502085, 'fraction_numerical': 0.008344923504867872, 'mean_word_length': 2.827127659574468, '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': '2579902', 'n_tokens_mistral': 577, 'n_tokens_neox': 554, 'n_words': 105}