<commit_before>language: go

go:
  - 1.5

addons:
  hosts:
    - le.wtf
  apt:
    packages:
      - lsb-release
      - python-dev
      - python-virtualenv
      - gcc
      - libaugeas0
      - libssl-dev
      - libffi-dev
      - ca-certificates
      - rsyslog
  mariadb: "10.0"

sudo: false

services:
  - rabbitmq
  - mysql

matrix:
  fast_finish: true

# Only build pushes to the master branch (and PRs)
branches:
  only:
    - master

before_install:
  # Github-PR-Status secret
  - openssl aes-256-cbc -K $encrypted_53b2630f0fb4_key -iv $encrypted_53b2630f0fb4_iv -in test/github-secret.json.enc -out test/github-secret.json -d || true

  - go get golang.org/x/tools/cmd/vet
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/golang/lint/golint
  - go get github.com/mattn/goveralls
  - go get github.com/modocache/gover
  - go get github.com/jcjones/github-pr-status
  - go get bitbucket.org/liamstask/goose/cmd/goose

  # Boulder consists of multiple Go packages, which
  # refer to each other by their absolute GitHub path,
  # e.g. github.com/letsencrypt/boulder/analysis. That means, by default, if
  # someone forks the repo, Travis won't pass on their own repo. To fix that,
  # we add a symlink.
  - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/letsencrypt
  - test ! -d $GOPATH/src/github.com/letsencrypt/boulder && ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/letsencrypt/boulder || true

env:
  global:
    - LETSENCRYPT_PATH=/tmp/letsencrypt
  matrix:
    - SKIP_INTEGRATION_TESTS=1
    - SKIP_UNIT_TESTS=1
    - RUN_MAKE=1 SKIP_UNIT_TESTS=1 SKIP_INTEGRATION_TESTS=1

script:
  - bash test/travis_make.sh
  - bash test.sh
<commit_msg>retry download of go binaries in Travis<commit_after>language: go

go:
  - 1.5

addons:
  hosts:
    - le.wtf
  apt:
    packages:
      - lsb-release
      - python-dev
      - python-virtualenv
      - gcc
      - libaugeas0
      - libssl-dev
      - libffi-dev
      - ca-certificates
      - rsyslog
  mariadb: "10.0"

sudo: false

services:
  - rabbitmq
  - mysql

matrix:
  fast_finish: true

# Only build pushes to the master branch (and PRs)
branches:
  only:
    - master

before_install:
  # Github-PR-Status secret
  - openssl aes-256-cbc -K $encrypted_53b2630f0fb4_key -iv $encrypted_53b2630f0fb4_iv -in test/github-secret.json.enc -out test/github-secret.json -d || true

  - travis_retry go get golang.org/x/tools/cmd/vet
  - travis_retry go get golang.org/x/tools/cmd/cover
  - travis_retry go get github.com/golang/lint/golint
  - travis_retry go get github.com/mattn/goveralls
  - travis_retry go get github.com/modocache/gover
  - travis_retry go get github.com/jcjones/github-pr-status
  - travis_retry go get bitbucket.org/liamstask/goose/cmd/goose

  # Boulder consists of multiple Go packages, which
  # refer to each other by their absolute GitHub path,
  # e.g. github.com/letsencrypt/boulder/analysis. That means, by default, if
  # someone forks the repo, Travis won't pass on their own repo. To fix that,
  # we add a symlink.
  - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/letsencrypt
  - test ! -d $GOPATH/src/github.com/letsencrypt/boulder && ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/letsencrypt/boulder || true

env:
  global:
    - LETSENCRYPT_PATH=/tmp/letsencrypt
  matrix:
    - SKIP_INTEGRATION_TESTS=1
    - SKIP_UNIT_TESTS=1
    - RUN_MAKE=1 SKIP_UNIT_TESTS=1 SKIP_INTEGRATION_TESTS=1

script:
  - bash test/travis_make.sh
  - bash test.sh

{'fraction_non_alphanumeric': 0.1009518315546582, 'fraction_numerical': 0.017306028266512834, 'mean_word_length': 2.8026315789473686, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1394635', 'n_tokens_mistral': 1413, 'n_tokens_neox': 1346, 'n_words': 299}