<commit_before>####################################################################################
## NOT FOR UPSTREAM PROPOSAL; INTENDED FOR CI OF AZURE EXAMPLES IN THIS REPO ONLY ##
####################################################################################

sudo: required

services:
  - docker

language: generic

# establish environment variables
env:
  - TEST_DIR=examples/azure-vm-simple-linux-managed-disk

branches:
  only:
  - master
  - /^(?i:topic)-.*$/

# install terraform
before_deploy:
  - export KEY=$(cat /dev/urandom | tr -cd 'a-z' | head -c 12)
  - export PASSWORD=$KEY$(cat /dev/urandom | tr -cd 'A-Z' | head -c 2)$(cat /dev/urandom | tr -cd '0-9' | head -c 2)

# terraform deploy + script
deploy:
  - provider: script
    skip_cleanup: true
    script: cd $TRAVIS_BUILD_DIR/$TEST_DIR && ./deploy.ci.sh
    on:
      repo: harijayms/terraform
      branch: topic-101-vm-simple-linux<commit_msg>.travis.yml reverted back to hashicorp's master .travis.yml<commit_after>dist: trusty
sudo: false
language: go
go:
- 1.8.x

# add TF_CONSUL_TEST=1 to run consul tests
# they were causing timouts in travis
env:
  - CONSUL_VERSION=0.7.5 GOMAXPROCS=4

# Fetch consul for the backend and provider tests
before_install:
  - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
  - unzip consul.zip
  - mkdir ~/bin
  - mv consul ~/bin
  - export PATH="~/bin:$PATH"

install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- go get github.com/kardianos/govendor
script:
- make vendor-status test vet
- GOOS=windows go build
branches:
  only:
  - master
notifications:
  irc:
    channels:
    - irc.freenode.org#terraform-tool
    skip_join: true
    use_notice: true
matrix:
  fast_finish: true
  allow_failures:
  - go: tip
{'fraction_non_alphanumeric': 0.1894579811039284, 'fraction_numerical': 0.011437095972153158, 'mean_word_length': 3.8365384615384617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3038123', 'n_tokens_mistral': 714, 'n_tokens_neox': 680, 'n_words': 187}