<commit_before>language: go

install:
  # go-flags
  - go get -d -v ./...
  - go build -v ./...

  # code coverage
  - go get code.google.com/p/go.tools/cmd/cover
  - go get github.com/onsi/ginkgo/ginkgo
  - go get github.com/modocache/gover
  - go get github.com/mattn/goveralls

script:
  # go-flags
  - go test -v ./...

  # Code coverage
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/ginkgo -r -race -cover
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/gover
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN

env:
  # coveralls.io
  secure: "RCYbiB4P0RjQRIoUx/vG/AjP3mmYCbzOmr86DCww1Z88yNcy3hYr3Cq8rpPtYU5v0g7wTpu4adaKIcqRE9xknYGbqj3YWZiCoBP1/n4Z+9sHW3Dsd9D/GRGeHUus0laJUGARjWoCTvoEtOgTdGQDoX7mH+pUUY0FBltNYUdOiiU="<commit_msg>force gofmt's format to build successfully<commit_after>language: go

install:
  # go-flags
  - go get -d -v ./...
  - go build -v ./...

  # code coverage
  - go get code.google.com/p/go.tools/cmd/cover
  - go get github.com/onsi/ginkgo/ginkgo
  - go get github.com/modocache/gover
  - go get github.com/mattn/goveralls

script:
  # go-flags
  - $(exit $(gofmt -l . | wc -l))
  - go test -v ./...

  # code coverage
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/ginkgo -r -race -cover
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/gover
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN

env:
  # coveralls.io
  secure: "<KEY>
{'fraction_non_alphanumeric': 0.16968184653774174, 'fraction_numerical': 0.01933873986275733, 'mean_word_length': 3.0918367346938775, 'pattern_counts': {'":': 6, '<': 4, '<?xml version=': 0, '>': 4, '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': '2515516', 'n_tokens_mistral': 742, 'n_tokens_neox': 709, 'n_words': 137}