<commit_before>branches:
  only:
    - master

language: go
go:
- 1.4
- 1.5
- tip

before_install:
- go get -v golang.org/x/tools/cmd/cover
- go get -v github.com/onsi/ginkgo/ginkgo
- go get -v github.com/mattn/goveralls

after_success:
- 'echo "mode: set" > coverage.out'
- 'find ltc cell-helpers -name "*.coverprofile" -exec grep -v mode: {} >> coverage.out \;'
- PATH=$HOME/gopath/bin:$PATH goveralls -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN

script:
- GOPATH=$PWD/ltc/Godeps/_workspace:$GOPATH PATH=$HOME/gopath/bin:$PATH ginkgo -r --race --randomizeAllSpecs --failOnPending --skipMeasurements --cover ltc cell-helpers
- test -z "$(go fmt ./ltc/... ./cell-helpers/...)"<commit_msg>Fix .travis.yml to modify GOPATH in before_install<commit_after>branches:
  only:
    - master

language: go
go:
- 1.4
- 1.5
- tip

before_install:
- go get -v golang.org/x/tools/cmd/cover
- go get -v github.com/onsi/ginkgo/ginkgo
- go get -v github.com/mattn/goveralls
- export GOPATH=$PWD/ltc/Godeps/_workspace:$GOPATH
- export PATH=$HOME/gopath/bin:$PATH

script:
- ginkgo -r --race --randomizeAllSpecs --failOnPending --skipMeasurements --cover ltc cell-helpers
- test -z "$(go fmt ./ltc/... ./cell-helpers/...)"

after_success:
- 'echo "mode: set" > coverage.out'
- 'find ltc cell-helpers -name "*.coverprofile" -exec grep -v mode: {} >> coverage.out \;'
- goveralls -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN

{'fraction_non_alphanumeric': 0.16690042075736325, 'fraction_numerical': 0.005610098176718092, 'mean_word_length': 3.363914373088685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4277968', 'n_tokens_mistral': 571, 'n_tokens_neox': 553, 'n_words': 124}