<commit_before>language: go
go:
  - tip # latest
env:
  - "PATH=/home/travis/gopath/bin:$PATH"
script:
  - test -z "$(gofmt -l ./)"
  - test -z "$(go vet -v ./...)"
  - go build
after_success:
  # Publish as pre-release if it isn't a pull request
  - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then go get github.com/mitchellh/gox && go get github.com/tcnksm/ghr; fi'
  - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then gox -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" && ghr --username $GITHUB_USERNAME --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/; fi'<commit_msg>[enh] add osx to travis tests ++ remove buggy automatic build<commit_after>language: go
go:
  - tip # latest
os:
  - linux
  - osx
env:
  - "PATH=/home/travis/gopath/bin:$PATH"
script:
  - test -z "$(gofmt -l ./)"
  - test -z "$(go vet -v ./...)"
  - go build
# after_success:
#   # Publish as pre-release if it isn't a pull request
#   - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then go get github.com/mitchellh/gox && go get github.com/tcnksm/ghr; fi'
#   - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then gox -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" && ghr --username $GITHUB_USERNAME --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/; fi'
{'fraction_non_alphanumeric': 0.1944, 'fraction_numerical': 0.0, 'mean_word_length': 3.142384105960265, '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': '5339924', 'n_tokens_mistral': 499, 'n_tokens_neox': 482, 'n_words': 127}