<commit_before>env:
  global:
  - secure: <KEY>
  - AUTHOR_EMAIL=gambol9<EMAIL>
  - REGISTRY_USERNAME=gambol99+rebotbuilder
  - REGISTRY=quay.io

services:
- docker

language: go

go:
- 1.6
- 1.7beta2

install:
- go get github.com/tools/godep

script:
- make test

before_deploy:
- NAME=GOOS=windows GOARCH=amd64 godep go build -o bin/keycloak-proxy-windows-amd64.exe
- NAME=GOOS=windows GOARCH=386 godep go build -o bin/keycloak-proxy-windows-i386.exe
- NAME=GOOS=linux GOARCH=amd64 godep go build -o bin/keycloak-proxy-linux-amd64
- NAME=GOOS=linux GOARCH=386 godep go build -o bin/keycloak-proxy-linux-i386

after_deploy:
- docker login -u ${REGISTRY_USERNAME} -p ${REGISTRY_TOKEN} -e ${AUTHOR_EMAIL} ${REGISTRY}
- VERSION=$TRAVIS_TAG make docker-release

deploy:
  skip_cleanup: true
  on:
    go: 1.6
    repo: gambol99/keycloak-proxy
    tags: true
  provider: releases
  api_key:
    secure: "[rohith please put github oauth key here]"
  file:
    - "bin/keycloak-proxy-windows-amd64.exe"
    - "bin/keycloak-proxy-windows-i386.exe"
    - "bin/keycloak-proxy-linux-amd64"
    - "bin/keycloak-proxy-linux-i386"<commit_msg>- adding the oauth token for releases<commit_after>env:
  global:
  - secure: <KEY>
  - secure: <KEY>
  - AUTHOR_EMAIL=<EMAIL>
  - REGISTRY_USERNAME=gambol99+rebotbuilder
  - REGISTRY=quay.io
services:
- docker
language: go
go:
- 1.6
- 1.7beta2
install:
- go get github.com/tools/godep
script:
- make test
before_deploy:
- NAME=GOOS=windows GOARCH=amd64 godep go build -o bin/keycloak-proxy-windows-amd64.exe
- NAME=GOOS=windows GOARCH=386 godep go build -o bin/keycloak-proxy-windows-i386.exe
- NAME=GOOS=linux GOARCH=amd64 godep go build -o bin/keycloak-proxy-linux-amd64
- NAME=GOOS=linux GOARCH=386 godep go build -o bin/keycloak-proxy-linux-i386
after_deploy:
- docker login -u ${REGISTRY_USERNAME} -p ${REGISTRY_TOKEN} -e ${AUTHOR_EMAIL} ${REGISTRY}
- VERSION=$TRAVIS_TAG make docker-release
deploy:
  skip_cleanup: true
  on:
    go: 1.6
    repo: gambol99/keycloak-proxy
    tags: true
  provider: releases
  api_key:
    secure: "${GITHUB_TOKEN}"
  file:
  - bin/keycloak-proxy-windows-amd64.exe
  - bin/keycloak-proxy-windows-i386.exe
  - bin/keycloak-proxy-linux-amd64
  - bin/keycloak-proxy-linux-i386
{'fraction_non_alphanumeric': 0.1249442213297635, 'fraction_numerical': 0.037037037037037035, 'mean_word_length': 3.7702127659574467, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3245738', 'n_tokens_mistral': 1013, 'n_tokens_neox': 896, 'n_words': 179}