<commit_before>machine:
    environment:
        GO15VENDOREXPERIMENT: 1
checkout:
    post:
dependencies:
    override:
        - mkdir -pv $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
        - ln -Tsf $HOME/$CIRCLE_PROJECT_REPONAME $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
        # Glide 0.10.1
        - wget https://github.com/Masterminds/glide/releases/download/0.10.1/glide-0.10.1-linux-amd64.tar.gz
        - tar -vxz -C $HOME/bin --strip=1 -f glide-0.10.1-linux-amd64.tar.gz
        # Fetch deps with glide
        - glide --home $HOME/.glide -y glide.yaml install --cache
    cache_directories:
        - "~/.glide"
test:
    override:
        - cd $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME && go test
        - cd $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME && go build example.go<commit_msg>Add coverage via codecov, new version of glide<commit_after>machine:
    environment:
        GO15VENDOREXPERIMENT: 1
checkout:
    post:
dependencies:
    override:
        - mkdir -pv $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
        - ln -Tsf $HOME/$CIRCLE_PROJECT_REPONAME $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
        # Glide 0.11.1
        - wget https://github.com/Masterminds/glide/releases/download/0.11.1/glide-0.11.1-linux-amd64.tar.gz
        - tar -vxz -C $HOME/bin --strip=1 -f glide-0.11.1-linux-amd64.tar.gz
        # Fetch deps with glide
        - glide --home $HOME/.glide -y glide.yaml install --cache
    cache_directories:
        - "~/.glide"
test:
    override:
        - cd $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
        - go test -v -coverprofile=coverage.txt -covermode=atomic
        - go build example.go
        - bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.1267387944358578, 'fraction_numerical': 0.02472952086553323, 'mean_word_length': 2.6299065420560748, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5575485', 'n_tokens_mistral': 762, 'n_tokens_neox': 726, 'n_words': 111}