<commit_before>language: go
go:
  - 1.8

# Don't build other branches that are being used for PRs.
# Currently only the master branch is used in this repo.
branches:
  only:
    - master

cache:
  directories:
    - $GOPATH/src
    - $GOPATH/pkg

before_install:
- go get github.com/mitchellh/gox
- go get -u github.com/kyoh86/richgo
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls

script:
  - go vet ./...
  - golint ./...
  - richgo test -v -cover -coverprofile=c.out
  - goveralls -coverprofile=c.out -service travis-ci -repotoken $COVERALLS_TOKEN

after_success:
  - gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"
<commit_msg>Add golint explicitly<commit_after>language: go
go:
  - 1.8

# Don't build other branches that are being used for PRs.
# Currently only the master branch is used in this repo.
branches:
  only:
    - master

cache:
  directories:
    - $GOPATH/src
    - $GOPATH/pkg

before_install:
- go get github.com/mitchellh/gox
- go get -u github.com/kyoh86/richgo
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get -u github.com/golang/lint/golint

script:
  - go vet ./...
  - golint ./...
  - richgo test -v -cover -coverprofile=c.out
  - goveralls -coverprofile=c.out -service travis-ci -repotoken $COVERALLS_TOKEN

after_success:
  - gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"

{'fraction_non_alphanumeric': 0.13696612665684832, 'fraction_numerical': 0.005891016200294551, 'mean_word_length': 2.8389830508474576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '591467', 'n_tokens_mistral': 540, 'n_tokens_neox': 519, 'n_words': 134}