<commit_before>language: go

go:
    - 1.6
    - 1.5

env:
    global:
        - GO15VENDOREXPERIMENT=1
        
script:
    - make verify

sudo: false<commit_msg>Travis: upload binaries as github release attachments<commit_after>language: go

# Enable Travis container-based infrastructure
sudo: false

# Go versions to build with
go:
    - 1.6
    - 1.5

env:
    global:
        # Required for Go 1.5 build
        - GO15VENDOREXPERIMENT=1
    matrix:
        # Platforms to build for
        - PLATFORM=linux/amd64

script:
    # Need to set explicitly, as these are unset by 'gimme'
    - export GOOS=${PLATFORM%/*}
    - export GOARCH=${PLATFORM#*/}
    
    # Analyze, test and build the code, and then package the binary
    - make verify release

deploy:
    
    # Upload files to GitHub as release attachments
    provider: releases
    api_key: $GITHUB_TOKEN
      
    # Keep artifacts produced during the build
    skip_cleanup: true
    
    # Upload anything under the release directory
    file_glob: true
    file: release/*

    # Trigger only when building a tagged commit, on Go 1.6
    on:
        tags: true
        go: 1.6
{'fraction_non_alphanumeric': 0.07417102966841187, 'fraction_numerical': 0.019197207678883072, 'mean_word_length': 2.2401129943502824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3333451', 'n_tokens_mistral': 383, 'n_tokens_neox': 359, 'n_words': 123}