<commit_before>---
machine:
  services:
      - docker
  post:
    - go version
    - go version | grep 1.7.1 || sudo rm -rf /usr/local/go
    - wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz
    - sudo tar -C /usr/local -xzf go1.7.1.linux-amd64.tar.gz
    - go version

dependencies:
  pre:
      - git config --global url."<EMAIL>:".insteadOf "https://github.com/"
      - make prepare
  override:
    - docker info

test:
  override:
    - make test
    - docker build --rm=false -t influxdata/mrfusion .
    - docker run -d -p 8080:5000 -e PORT=5000 influxdata/mrfusion; sleep 10
    - curl --retry 10 --retry-delay 5 -v http://localhost:8080

deployment:
  heroku:
    branch: develop
    commands:
      - docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com
      - docker tag influxdata/mrfusion registry.heroku.com/mrfusion-acc/web
      - docker push registry.heroku.com/mrfusion-acc/web<commit_msg>Update circle to force using gdm from within .go_workspace<commit_after>---
machine:
  services:
      - docker
  post:
    - go version
    - go version | grep 1.7.1 || (sudo rm -rf /usr/local/go && wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz && sudo tar -C /usr/local -xzf go1.7.1.linux-amd64.tar.gz)
    - go version

dependencies:
  pre:
      - git config --global url."<EMAIL>:".insteadOf "https://github.com/"
      - mkdir -p ${HOME}/.go_workspace/src/github.com/influxdata
      - ln -sf ${HOME}/mrfusion ${HOME}/.go_workspace/src/github.com/influxdata
      - cd ${HOME}/.go_workspace/src/github.com/influxdata/mrfusion  && make
  override:
    - docker info

test:
  override:
    - make test
    - docker build --rm=false -t influxdata/mrfusion .
    - docker run -d -p 8080:5000 -e PORT=5000 influxdata/mrfusion; sleep 10
    - curl --retry 10 --retry-delay 5 -v http://localhost:8080

deployment:
  heroku:
    branch: develop
    commands:
      - docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com
      - docker tag influxdata/mrfusion registry.heroku.com/mrfusion-acc/web
      - docker push registry.heroku.com/mrfusion-acc/web
{'fraction_non_alphanumeric': 0.13434903047091412, 'fraction_numerical': 0.03139427516158818, 'mean_word_length': 2.461661341853035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '1482713', 'n_tokens_mistral': 846, 'n_tokens_neox': 758, 'n_words': 183}