<commit_before>language: go

go:
- 1.4.1

matrix:
  fast_finish: true

env:
  global:
    secure: <KEY>

install:
- export GOBIN=$HOME/bin PATH=$HOME/bin:$PATH NOTIFY_DEBUG=XD
- go get golang.org/x/tools/cmd/vet golang.org/x/tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover
- go get -t -v ./...
- go install -a -race std

script:
- go tool vet -all .
- go build ./...
- go test -v -p 1 ./...
- go list -f '{{if len .TestGoFiles}}go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}{{end}}' ./... | xargs -i sh -c {}
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN<commit_msg>update Travis configuration file to test on multiple OS<commit_after>language: go

go:
 - 1.4.1

os:
 - linux
 - osx

matrix:
  include:
   - os: osx
     env:
      - GOFLAGS="-tags kqueue"

env:
  global:
   - secure: JfdLa3hcnvIwT13kbH2fr4c+4V9H4yO4GZsqDckODmxILlEtKcCLM5eCi09D21uTuaMUfZDIFNPN4mpDhbeEoM6Aoro4Ht+mX0vlpFUOS5bRqhP0l59PKEXqKFfh2IIlqEOmQ9XU6XvqWezTirN1OFUPMIMO9qSM/HuKhbX5wJQ=
   - GOBIN=$HOME/bin
   - PATH=$HOME/bin:$PATH
   - NOTIFY_DEBUG=1

install:
 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then eval "$(gimme 1.4.1)"; export GOBIN=$HOME/bin; fi
 - go get golang.org/x/tools/cmd/vet
 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover; fi
 - go get -t -v ./...

script:
 - go tool vet -all .
 - go install $GOFLAGS ./...
 - go test -v -p 1 $GOFLAGS ./...
 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then go list -f '{{if len .TestGoFiles}}go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}{{end}}' ./... | xargs -i sh -c {}; fi
 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then gover; fi
 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
{'fraction_non_alphanumeric': 0.16826411075612355, 'fraction_numerical': 0.021299254526091587, 'mean_word_length': 3.231981981981982, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '4364672', 'n_tokens_mistral': 825, 'n_tokens_neox': 799, 'n_words': 167}