<commit_before>language: go
sudo: false
go:
- 1.7
- 1.8
- 1.9
- '1.10'
- 1.11.x
- master

install:
- go get github.com/pkg/errors
- go get golang.org/x/lint/golint

before_script:
# golint is no longer available for go versions 1.7 and 1.8
- INSTALLED_GO_VERSION=`go version | sed 's/go version go\(.*\) .*/\1/'`
- if [ "$INSTALLED_GO_VERSION" != "1.7" ] && [ "$INSTALLED_GO_VERSION" != "1.8" ]; then; golint ./...; fi

script:
- go test -v -race -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s https://codecov.io/bash)<commit_msg>Remove spare semicolon<commit_after>language: go
sudo: false
go:
- 1.7
- 1.8
- 1.9
- '1.10'
- 1.11.x
- master

install:
- go get github.com/pkg/errors
- go get golang.org/x/lint/golint

before_script:
# golint is no longer available for go versions 1.7 and 1.8
- INSTALLED_GO_VERSION=`go version | sed 's/go version go\(.*\) .*/\1/'`
- if [ "$INSTALLED_GO_VERSION" != "1.7" ] && [ "$INSTALLED_GO_VERSION" != "1.8" ]; then golint ./...; fi

script:
- go test -v -race -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.1831858407079646, 'fraction_numerical': 0.03716814159292035, 'mean_word_length': 3.1734317343173433, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1291846', 'n_tokens_mistral': 496, 'n_tokens_neox': 454, 'n_words': 115}