<commit_before>language: go

go:
  - 1.3
env: "PATH=/home/travis/gopath/bin:$PATH"
install:
    - go get github.com/mitchellh/gox
    - gox -build-toolchain -osarch=linux/386
    - go get -d -v ./... && go build -v ./...
    - sudo apt-get update
    - DEBIAN_FRONTEND=noninteractive sudo apt-get install -y rpm
    - mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}

script:
    - go test -v ./...
    - make<commit_msg>release<commit_after>language: go
go:
- 1.3
env: PATH=/home/travis/gopath/bin:$PATH
install:
- go get github.com/mitchellh/gox
- gox -build-toolchain -osarch=linux/386
- go get -d -v ./... && go build -v ./...
- sudo apt-get update
- DEBIAN_FRONTEND=noninteractive sudo apt-get install -y rpm
- mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
script:
- go test -v ./...
- make
deploy:
  provider: releases
  api_key:
    secure: <KEY>
  file: "/home/travis/rpmbuild/RPMS/x86_64/mackerel-agent-plugins-0.1-1.x86_64.rpm"
  on:
    repo: mackerelio/mackerel-agent-plugins
{'fraction_non_alphanumeric': 0.16404715127701375, 'fraction_numerical': 0.0206286836935167, 'mean_word_length': 2.774074074074074, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2787871', 'n_tokens_mistral': 441, 'n_tokens_neox': 420, 'n_words': 84}