<commit_before>machine:
  services:
    - neo4j
  environment:
    NEO4J_TEST_URL: http://neo4j:x@localhost:7474/db/data/

test:
  pre:
    - 'curl -u neo4j:neo4j -H "Content-Type: application/json" -X POST -d ''{"password":"x"}''  http://localhost:7474/user/neo4j/password'
<commit_msg>Added coveralls to circle ci config<commit_after>machine:
  services:
    - neo4j
  environment:
    NEO4J_TEST_URL: http://neo4j:x@localhost:7474/db/data/
    _JAVA_OPTIONS: "-Xms512m -Xmx1024m"

dependencies:
  pre:
    - go get github.com/axw/gocov/gocov; go get github.com/matm/gocov-html; go get -u github.com/jstemmer/go-junit-report
test:
  pre:
    - go get github.com/mattn/goveralls
    - 'curl -u neo4j:neo4j -H "Content-Type: application/json" -X POST -d ''{"password":"x"}''  http://localhost:7474/user/neo4j/password'
  override:
    - mkdir -p $CIRCLE_TEST_REPORTS/golang
    - go test -race -v ./... | go-junit-report > $CIRCLE_TEST_REPORTS/golang/junit.xml
    - go list ./... | awk -F/ '{print $4}' | xargs -I {} go test -v -cover -race -coverprofile=$CIRCLE_ARTIFACTS/{}.out ./{}
    - cd $CIRCLE_ARTIFACTS && sed -i '1d' *.out
    - |
      echo "mode: atomic" > $CIRCLE_ARTIFACTS/overall-coverage.result
    - cd $CIRCLE_ARTIFACTS && cat *.out >> overall-coverage.result
  post:
    - goveralls -coverprofile=$CIRCLE_ARTIFACTS/overall-coverage.result -service=circle-ci -repotoken=$COVERALLS_TOKEN

{'fraction_non_alphanumeric': 0.1593172119487909, 'fraction_numerical': 0.02631578947368421, 'mean_word_length': 3.225225225225225, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '6216213', 'n_tokens_mistral': 599, 'n_tokens_neox': 558, 'n_words': 105}