<commit_before>language: go

go:
  - 1.6.2
  - tip

install:
  - go get -t ./...
  - go get github.com/golang/lint/golint
  - go get honnef.co/go/staticcheck/cmd/staticcheck
  - go get github.com/kisielk/errcheck

script:
  - diff <(echo -n) <(gofmt -s -d .)
  - go vet ./...
  - go test -v ./...

after_script:
  - golint ./...
  - staticcheck ./...
  - errcheck ./...<commit_msg>Misspell checks and newer go version for travis<commit_after>language: go

go:
  - 1.7.x
  - tip

install:
  - go get -t ./...
  - go get github.com/client9/misspell/cmd/misspell
  - go get github.com/golang/lint/golint
  - go get honnef.co/go/staticcheck/cmd/staticcheck
  - go get github.com/kisielk/errcheck

script:
  - diff <(echo -n) <(gofmt -s -d .)
  - misspell -error .
  - go vet ./...
  - go test -v ./...

after_script:
  - golint ./...
  - staticcheck ./...
  - errcheck ./...
{'fraction_non_alphanumeric': 0.1850574712643678, 'fraction_numerical': 0.006896551724137931, 'mean_word_length': 1.7827476038338659, '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': '1614835', 'n_tokens_mistral': 372, 'n_tokens_neox': 358, 'n_words': 80}