<commit_before># Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
  build:
    docker:
      # specify the version
      - image: circleci/golang:1.8
      - image: rabbitmq:3.6.7

    working_directory: /go/src/github.com/jhaynie/jupiter
    steps:
      - checkout

      # specify any bash command here prefixed with `run: `
      - run: go get -v -t -d ./...
      - run: go test -v ./...<commit_msg>attempt to wait for rabbit before starting tests<commit_after># Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
  build:
    docker:
      # specify the version
      - image: circleci/golang:1.8
      - image: rabbitmq:3.6.7

    working_directory: /go/src/github.com/jhaynie/jupiter
    steps:
      - checkout

      # specify any bash command here prefixed with `run: `
      - run: go get -v -t -d ./...
      - run:
          name: Waiting for RabbitMQ to be ready
          command: |
            for i in `seq 1 60`;
            do
              nc -z localhost 5672 && echo Success && exit 0
              echo -n .
              sleep 1
            done
            echo Failed waiting for RabbitMQ && exit 1
      - run: go test -v ./...
{'fraction_non_alphanumeric': 0.10941086457536343, 'fraction_numerical': 0.022953328232593728, 'mean_word_length': 1.7478991596638656, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2183056', 'n_tokens_mistral': 444, 'n_tokens_neox': 401, 'n_words': 133}