<commit_before>language: go
go: 1.4
before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
install:
  - export PATH=$PATH:${GOPATH%%:*}/bin:${GOPATH##:*}/bin

  - go get -t github.com/anonx/sunplate/... # Getting the dependencies for the repo.
  - go test -v github.com/anonx/sunplate/...
script:
  - cd ${GOPATH%%:*}/src/github.com/anonx/sunplate
  - COVERALLS="-service=travis-ci -repotoken $COVERALLS_TOKEN" sh ./coverage.sh<commit_msg>Generate and run a new project when testing<commit_after>language: go
go: 1.4
before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
install:
  - export PATH=$PATH:${GOPATH%%:*}/bin:${GOPATH##:*}/bin

  - go get -t github.com/anonx/sunplate/... # Getting the dependencies for the repo.

  - sunplate new github.com/anonx/sample # Try to create a sample project.
  - go run github.com/anonx/sample/main.go & # Run it.
script:
  - cd ${GOPATH%%:*}/src/github.com/anonx/sunplate
  - COVERALLS="-service=travis-ci -repotoken $COVERALLS_TOKEN" ./coverage.sh
{'fraction_non_alphanumeric': 0.16310372129849565, 'fraction_numerical': 0.003167062549485352, 'mean_word_length': 3.4350877192982456, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7001467', 'n_tokens_mistral': 513, 'n_tokens_neox': 488, 'n_words': 105}