<commit_before>machine:
  environment:
    GO15VENDOREXPERIMENT: 1
    GOROOT: "/home/ubuntu/go"
    PATH: "/home/ubuntu/go/bin:/usr/local/bin:$GOPATH/bin:$PATH"
    GOVERSION: "1.7.4"

dependencies:
  pre:
    # Install Golang
    - |
      curl -o go.tar.gz -sL https://storage.googleapis.com/golang/go$GOVERSION.linux-amd64.tar.gz &&
      sudo rm -rf /usr/local/go &&
      sudo tar -C /usr/local -xzf go.tar.gz &&
      sudo chmod a+w /usr/local/go/src/
    # Install Glide
    - |
      curl -o glide.tar.gz -sL https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz &&
      tar -xvzf glide.tar.gz &&
      ls -la &&
      sudo cp linux-amd64/glide /usr/local/bin/glide &&
      sudo chmod a+w /usr/local/bin/glide &&
      glide --version

  override:
    - glide install

test:
  override:
    - go test -v<commit_msg>fix circle.yml<commit_after>machine:
  environment:
    GO15VENDOREXPERIMENT: 1
    GOROOT: "/home/ubuntu/go"
    PATH: "/home/ubuntu/go/bin:/usr/local/bin:$GOPATH/bin:$PATH"
    GOVERSION: "1.7.4"

dependencies:
  pre:
    # Install Golang
    - |
      curl -o go.tar.gz -sL https://storage.googleapis.com/golang/go$GOVERSION.linux-amd64.tar.gz &&
      sudo rm -rf /usr/local/go &&
      sudo tar -C /usr/local -xzf go.tar.gz &&
      sudo chmod a+w /usr/local/go/src/
    # Install Glide
    - |
      curl -o glide.tar.gz -sL https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz &&
      tar -xvzf glide.tar.gz &&
      ls -la &&
      sudo cp linux-amd64/glide /usr/local/bin/glide &&
      sudo chmod a+w /usr/local/bin/glide &&
      glide --version

  override:
    - glide install -v

test:
  override:
    - go test -v
{'fraction_non_alphanumeric': 0.15632183908045977, 'fraction_numerical': 0.022988505747126436, 'mean_word_length': 2.148282097649186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '162592', 'n_tokens_mistral': 753, 'n_tokens_neox': 697, 'n_words': 127}