<commit_before>image: bradrydzewski/go:1.5

git:
  path: github.com/drone/drone

env:
  - GOROOT=/usr/local/go
  - PATH=$PATH:$GOROOT/bin:$GOPATH/bin

script:
  - apt-get -y -qq update
  - apt-get -y -qq install libsqlite3-dev
  - make deps
  - make
  - make test
  - make deb

notify:
  email:
    recipients:
      - <EMAIL>

publish:
  s3:
    acl: public-read
    region: us-east-1
    bucket: downloads.drone.io
    access_key: $$AWS_KEY
    secret_key: $$AWS_SECRET
    source: contrib/debian/drone.deb
    target: $DRONE_BRANCH/
    when:
      owner: drone



---

clone:
  path: github.com/drone/drone

build:
  image: golang:1.5
  commands:
    - apt-get -y -qq update
    - apt-get -y -qq install libsqlite3-dev
    - make deps
    - make gen
    - make test
    - make build
    - make build_static
    - make deb
<commit_msg>added sudo for drone 0.3 builds<commit_after>image: bradrydzewski/go:1.5

git:
  path: github.com/drone/drone

env:
  - GOROOT=/usr/local/go
  - PATH=$PATH:$GOROOT/bin:$GOPATH/bin

script:
  - sudo apt-get -y -qq update
  - sudo apt-get -y -qq install libsqlite3-dev
  - make deps
  - make
  - make test
  - make deb

notify:
  email:
    recipients:
      - <EMAIL>

publish:
  s3:
    acl: public-read
    region: us-east-1
    bucket: downloads.drone.io
    access_key: $$AWS_KEY
    secret_key: $$AWS_SECRET
    source: contrib/debian/drone.deb
    target: $DRONE_BRANCH/
    when:
      owner: drone



---

clone:
  path: github.com/drone/drone

build:
  image: golang:1.5
  commands:
    - apt-get -y -qq update
    - apt-get -y -qq install libsqlite3-dev
    - make deps
    - make gen
    - make test
    - make build
    - make build_static
    - make deb

{'fraction_non_alphanumeric': 0.11795774647887323, 'fraction_numerical': 0.01056338028169014, 'mean_word_length': 2.117001828153565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1612358', 'n_tokens_mistral': 721, 'n_tokens_neox': 687, 'n_words': 159}