<commit_before>language: go
notifications:
  email: false
branches:
  only:
    - master

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls

script:
  - test -z "$(find . -name '*.go' -exec gofmt -d {} + | tee /dev/stderr)"
  - go list ./... | sed -e "s#^$(go list .)#.#" | xargs -n 1 go test -v -race -coverprofile=>(sed -e '1!{/^mode:/d}' > .coverprofile)

after_success:
  - |
    if [[ -n "$GOVERALLS_TOKEN" ]]; then
      goveralls -coverprofile=.coverprofile -repotoken $GOVERALLS_TOKEN
    fi
  - |
    if [[ "$TRAVIS_PULL_REQUEST" == "false" ]] && [[ "$TRAVIS_BRANCH" == "master" ]]; then
      go list ./... | xargs -n 1 -I{} curl http://godoc.org/-/refresh -d path={}
    fi<commit_msg>simplify coveralls stuff in travis.yml<commit_after>language: go
notifications:
  email: false
branches:
  only:
    - master

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls

script:
  - test -z "$(find . -name '*.go' -exec gofmt -d {} + | tee /dev/stderr)"
  - go list ./... | sed -e "s#^$(go list .)#.#" | xargs -n 1 go test -v -race -coverprofile=>(sed -e '1!{/^mode:/d}' > .coverprofile)

after_script:
  - goveralls -coverprofile=.coverprofile

after_success:
  - |
    if [[ "$TRAVIS_PULL_REQUEST" == "false" ]] && [[ "$TRAVIS_BRANCH" == "master" ]]; then
      go list ./... | xargs -n 1 -I{} curl http://godoc.org/-/refresh -d path={}
    fi
{'fraction_non_alphanumeric': 0.19692737430167598, 'fraction_numerical': 0.004189944134078212, 'mean_word_length': 2.6556122448979593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4498991', 'n_tokens_mistral': 588, 'n_tokens_neox': 564, 'n_words': 137}