<commit_before>language: go

# Versions of go that are explicitly supported.
go:
 - 1.5.4
 - 1.6.3
 - tip

# Required for coverage.
before_install:
 - go get golang.org/x/tools/cmd/cover
 - go get github.com/mattn/goveralls

script:
 - go build -a -v ./...
 - diff <(gofmt -d .) <("")
 - go test -v -covermode=count -coverprofile=coverage.out
 - $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN<commit_msg>Use tests only for single subpackage.<commit_after>language: go

# Versions of go that are explicitly supported.
go:
 - 1.5.4
 - 1.6.3
 - tip

# Required for coverage.
before_install:
 - go get golang.org/x/tools/cmd/cover
 - go get github.com/mattn/goveralls

# only one subpackage tested yet
script:
 - go build -a -v ./...
 - diff <(gofmt -d .) <("") 
 - go test -v ./grafana -covermode=count -coverprofile=coverage.out
 - $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
{'fraction_non_alphanumeric': 0.13963039014373715, 'fraction_numerical': 0.012320328542094456, 'mean_word_length': 3.148936170212766, 'pattern_counts': {'":': 0, '<': 7, '<?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': '284231', 'n_tokens_mistral': 370, 'n_tokens_neox': 366, 'n_words': 92}