<commit_before>language: go
go:
- '1.10'
sudo: required
addons:
  apt:
    packages:
    - upx-ucl
    - musl
    - musl-tools
env:
  global:
  - MAKEFLAGS="-j 4"
  - COMMIT=${TRAVIS_COMMIT::7}
  - TRAVIS_TAG=${TRAVIS_TAG}
  - DOCKER_USERNAME=cblomart
  - AWS_ACCESS_KEY_ID=<KEY>
  - <KEY>
  - secure: Au0hrq98mPB4fwhDT+WodQmY+MUMt5fMQjB5Lf1h3p1mUDwvmhjZaJzlBqa2MaQr93clxzShjNobbtsDJVOEW9KpLUUCLyBRdKj8r8wj5tU8ckvUVGqazeYpKoqKSOiKT4uyBYaIRfpFPV+FmLLuZBvUBta+IcKOaME5ra6QnXQONZVdzta5mAKLCe0/8LYoF4VYj1SwqXYdb9p1F6v7HzMKUA77zFiYrGAMSOjWaD5zEyYzRze15QGcHU1fkcmZzWn23k9iPRUf8tl+SNldlioXcyirOY2ud0nIOJlOVdxZ9+hfPJvb0cuHYgRux7KfAKSEtxRcCp5h6vPM/jOBSdrygzC0v/HYrMi00Lqszgq+NejCO6VKddm4IgbwI4t45JuMC+9AfCt0VD/43wY7GtZxpANcMoFEecSYPLZddCU6j8x+HIb/A6jt8a/TALnG6FlKpO7X7j1cctebxX+uD4HAA9l+6/GKVqHg+cQwQD9coNTW3HFYaKzgt2t/VRGzjMPWsZUIB4apUTKlgXwoxBTR6bwirMrkt6XfLSg26zqL7zr9D3NFSMMLmmaqoHk90ggAuVDZdyZTyAIE3zvXs4Ydsd7RwYosx5/j/uyIi247xRT9UuRfBLrM4aerYKMjDcWK37QMXgFkjMfEFjBQIo4pPBH76eNm2JSLpB8JQ1M=
before_install:
- pip install --user awscli
services:
- docker
before_cache:
- rm -rf $GOPATH/src/github.com/cblomart/vsphere-graphite/*
- rm -rf $GOPATH/pkg/**/github.com/cblomart/vsphere-graphite
cache:
  directories:
  - "$GOPATH/src"
  - "$GOPATH/pkg"
jobs:
  include:
  - stage: Checks
    script:
    - make deps
    - make checks
  - stage: Build
    name: Linux amd64
    script:
    - make deps
    - make dist-linux-amd64
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json" 
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
  - script:
    - make deps
    - make dist-darwin-amd64
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json"
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
    name: OSX amd64
    if: tag IS present
  - script:
    - make deps
    - make dist-windows-amd64
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json"
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
    name: Windows amd64
    if: tag IS present
  - script:
    - make deps
    - make dist-linux-arm
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json"
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
    name: Linux arm
    if: tag IS present
  - stage: Deploy
    script:
    - aws s3 cp s3://vsphere-graphite/$COMMIT/ /tmp/ --recursive --exclude "*" --include "*.tgz"
    if: tag IS present
    deploy:
      skip_cleanup: true
      provider: releases
      api_key:
        secure: <KEY>EYnWVz1VgUhnViO0sExoTaWMB8Y7LmH/k+Ufp0Y=
      file_glob: true
      file: /tmp/vsphere-graphite_*.tgz
      on:
        tags: true
  - stage: Docker
    name: Docker linux amd64
    script:
    - mkdir -p releases/linux/amd64<commit_msg>remove deloy from travis<commit_after>language: go
go:
- '1.10'
sudo: required
addons:
  apt:
    packages:
    - upx-ucl
    - musl
    - musl-tools
env:
  global:
  - MAKEFLAGS="-j 4"
  - COMMIT=${TRAVIS_COMMIT::7}
  - TRAVIS_TAG=${TRAVIS_TAG}
  - DOCKER_USERNAME=cblomart
  - AWS_ACCESS_KEY_ID=<KEY>
  - secure: <KEY>
  - secure: Au0hrq98mPB4fwhDT+WodQmY+MUMt5fMQjB5Lf1h3p1mUDwvmhjZaJzlBqa2MaQr93clxzShjNobbtsDJVOEW9KpLUUCLyBRdKj8r8wj5tU8ckvUVGqazeYpKoqKSOiKT4uyBYaIRfpFPV+FmLLuZBvUBta+IcKOaME5ra6QnXQONZVdzta5mAKLCe0/8LYoF4VYj1SwqXYdb9p1F6v7HzMKUA77zFiYrGAMSOjWaD5zEyYzRze15QGcHU1fkcmZzWn23k9iPRUf8tl+SNldlioXcyirOY2ud0nIOJlOVdxZ9+hfPJvb0cuHYgRux7KfAKSEtxRcCp5h6vPM/jOBSdrygzC0v/HYrMi00Lqszgq+NejCO6VKddm4IgbwI4t45JuMC+9AfCt0VD/43wY7GtZxpANcMoFEecSYPLZddCU6j8x+HIb/A6jt8a/TALnG6FlKpO7X7j1cctebxX+uD4HAA9l+6/GKVqHg+cQwQD9coNTW3HFYaKzgt2t/VRGzjMPWsZUIB4apUTKlgXwoxBTR6bwirMrkt6XfLSg26zqL7zr9D3NFSMMLmmaqoHk90ggAuVDZdyZTyAIE3zvXs4Ydsd7RwYosx5/j/uyIi247xRT9UuRfBLrM4aerYKMjDcWK37QMXgFkjMfEFjBQIo4pPBH76eNm2JSLpB8JQ1M=
before_install:
- pip install --user awscli
services:
- docker
before_cache:
- rm -rf $GOPATH/src/github.com/cblomart/vsphere-graphite/*
- rm -rf $GOPATH/pkg/**/github.com/cblomart/vsphere-graphite
cache:
  directories:
  - "$GOPATH/src"
  - "$GOPATH/pkg"
jobs:
  include:
  - stage: Checks
    script:
    - make deps
    - make checks
  - stage: Build
    name: Linux amd64
    script:
    - make deps
    - make dist-linux-amd64
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json" 
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
  - script:
    - make deps
    - make dist-darwin-amd64
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json"
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
    name: OSX amd64
    if: tag IS present
  - script:
    - make deps
    - make dist-windows-amd64
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json"
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
    name: Windows amd64
    if: tag IS present
  - script:
    - make deps
    - make dist-linux-arm
    - aws s3 cp releases/ s3://vsphere-graphite/$COMMIT/bin/ --recursive --exclude "*.json"
    - aws s3 cp /tmp/ s3://vsphere-graphite/$COMMIT/ --recursive --exclude "*" --include "*.tgz"
    name: Linux arm
    if: tag IS present
#  - stage: Deploy
#    script:
#    - aws s3 cp s3://vsphere-graphite/$COMMIT/ /tmp/ --recursive --exclude "*" --include "*.tgz"
#    if: tag IS present
#    deploy:
#      skip_cleanup: true
#      provider: releases
#      api_key:
#        secure: <KEY>
#      file_glob: true
#      file: /tmp/vsphere-graphite_*.tgz
#      on:
#        tags: true
  - stage: Docker
    name: Docker linux amd64
    script:
    - mkdir -p releases/linux/amd64
{'fraction_non_alphanumeric': 0.1268581081081081, 'fraction_numerical': 0.04780405405405405, 'mean_word_length': 3.158005617977528, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '164826', 'n_tokens_mistral': 2901, 'n_tokens_neox': 2745, 'n_words': 413}