<commit_before>language: go

go:
  - tip

env:
  global:
    - BUILD_GOARCH=amd64
  matrix:
    - BUILD_GOOS=linux

install:
  - go get github.com/golang/gddo/database
  - go get github.com/juju/ratelimit
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls

script:
  - gvm cross $BUILD_GOOS $BUILD_GOARCH
  - GOARCH=$BUILD_GOARCH GOOS=$BUILD_GOOS go build

  # only test on linux
  - if [ $BUILD_GOOS == "linux" ]; then GOARCH=$BUILD_GOARCH GOOS=$BUILD_GOOS go test -v -covermode=count -coverprofile=coverage.out && $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: always<commit_msg>Add missing packages and coveralls key<commit_after>language: go

go:
  - tip

env:
  global:
    - BUILD_GOARCH=amd64
    - secure: <KEY>
  matrix:
    - BUILD_GOOS=linux

install:
  - go get github.com/golang/gddo/database
  - go get github.com/juju/ratelimit
  - go get github.com/aryann/difflib
  - go get github.com/davecgh/go-spew/spew
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls

script:
  - gvm cross $BUILD_GOOS $BUILD_GOARCH
  - GOARCH=$BUILD_GOARCH GOOS=$BUILD_GOOS go build
  - if [ $BUILD_GOOS == "linux" ]; then GOARCH=$BUILD_GOARCH GOOS=$BUILD_GOOS go test -v -covermode=count -coverprofile=coverage.out && $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: always
{'fraction_non_alphanumeric': 0.11261538461538462, 'fraction_numerical': 0.0024615384615384616, 'mean_word_length': 3.442622950819672, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '43128', 'n_tokens_mistral': 639, 'n_tokens_neox': 624, 'n_words': 128}