<commit_before>language: go
sudo: false

go:
  - 1.8.x
  - master

install:
  - go get -v github.com/Masterminds/glide
  - go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
  - cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/v0.12.3 && go install && cd -
  - glide install
<commit_msg>Fetch protoc for ci builds<commit_after>language: go
sudo: false

env:
  - PROTOC_RELEASE="https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip"
  - PROTOC_TARGET="${HOME}/protoc"

cache:
  - "${HOME}/protoc"
  - "${HOME}/gopath/src/github.com/pseudomuto/protoc-gen-doc/vendor"

go:
  - 1.8.x
  - master

install:
  - if [ ! -d "${PROTOC_TARGET}" ]; then curl -fsSL "$PROTOC_RELEASE" > "${PROTOC_TARGET}.zip"; fi
  - if [ -f "${PROTOC_TARGET}.zip" ]; then unzip "${PROTOC_TARGET}.zip" -d "${PROTOC_TARGET}"; fi
  - go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
  - go get -u github.com/Masterminds/glide
  - cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/v0.12.3 && go install && cd -
  - glide install

{'fraction_non_alphanumeric': 0.17652495378927913, 'fraction_numerical': 0.02033271719038817, 'mean_word_length': 3.2976190476190474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1615577', 'n_tokens_mistral': 451, 'n_tokens_neox': 427, 'n_words': 80}