<commit_before>machine:
  services:
    - docker
  environment:
    CGO_ENABLED: 0

dependencies:
  override:
    - go get -d
    - go build -o bin/tcd -installsuffix cgo
    - docker build -t kinvolk/tcd .

test:
  override:
    - echo "Tests disabled"

deployment:
  privatehub:
    branch: /.*master/
    commands:
      - >
        test "$DEPLOY_PRIVATE_HUB_BRANCH" == "" || test "$CIRCLE_BRANCH" != "$DEPLOY_PRIVATE_HUB_BRANCH" || (
          docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS &&
          docker tag kinvolk/tcd:latest $DOCKER_USER/tcd:latest &&
          docker push $DOCKER_USER/tcd
        )<commit_msg>circle.yml: deployment<commit_after>machine:
  services:
    - docker
  environment:
    CGO_ENABLED: 0

dependencies:
  override:
    - go get -d
    - go build -o bin/tcd -installsuffix cgo
    - docker build -t kinvolk/tcd .

test:
  override:
    - echo "Tests disabled"

deployment:
  privatehub:
    branch: master
    commands:
      - >
        test -z "${DOCKER_USER}" || (
          docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS &&
          (test "${DOCKER_ORGANIZATION:-$DOCKER_USER}" == "kinvolk" || docker tag kinvolk/tcd:latest ${DOCKER_ORGANIZATION:-$DOCKER_USER}/tcd:latest) &&
          docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/tcd
        )
{'fraction_non_alphanumeric': 0.12018140589569161, 'fraction_numerical': 0.0015117157974300832, 'mean_word_length': 2.530666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1135630', 'n_tokens_mistral': 508, 'n_tokens_neox': 490, 'n_words': 104}