<commit_before>language: go

go:
  - 1.3
  - 1.4

env:
  - GOTAGS=restapi

install:
  - go get -d -v -t -tags "$GOTAGS" ./...
  - go build -v -tags "$GOTAGS" ./...

script: go test -v -tags "$GOTAGS" ./...<commit_msg>deploy tagged commits to github releases<commit_after>sudo: false

language: go

go:
  - 1.3
  - 1.4

before_deploy:
  - go get github.com/mitchellh/gox
  - gox -os="windows linux darwin" -arch="amd64" -build-toolchain 
  - gox -arch="amd64" -os="windows linux darwin" -output "dist/{{.OS}}-{{.Arch}}/{{.Dir}}" ./...
  - zip -j packer-azure-windows-amd64-${TRAVIS_TAG}.zip ./dist/windows-amd64/*
  - tar -cvzf packer-azure-linux-amd64-${TRAVIS_TAG}.tar.gz -C dist/linux-amd64/ .
  - tar -cvzf packer-azure-darwin-amd64-${TRAVIS_TAG}.tar.gz -C dist/darwin-amd64/ .
deploy:
  provider: releases
  api_key:
    secure: "<KEY>
  file:
    - packer-azure-windows-amd64-${TRAVIS_TAG}.zip
    - packer-azure-linux-amd64-${TRAVIS_TAG}.tar.gz
    - packer-azure-darwin-amd64-${TRAVIS_TAG}.tar.gz
  on:
    tags: true
    go: 1.4
{'fraction_non_alphanumeric': 0.19111969111969113, 'fraction_numerical': 0.03088803088803089, 'mean_word_length': 2.6006944444444446, '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': '2162910', 'n_tokens_mistral': 471, 'n_tokens_neox': 440, 'n_words': 84}