<commit_before>sudo: required

language: python
python: 2.7

services:
  - docker

env:
  matrix:
    - TOX_ENV=py27
    - COMPOSE_SLURM=True
    # Compose version with Condor submitting Docker jobs
    - COMPOSE_CONDOR_DOCKER=True
    - KUBE=True
  global:
    - secure: "SEjcKJQ0NGXdpFxFhLVlyJmiBvgiLtR5Uufg90Vm3owKlMy0NSfIrOR+2dwNniqOp7QI3eVepnqjid/Ka0QStzVqMCe55OLkJ/TbTHnMLpbtY63mpGfogVRvxMMAVpzLpcQqtJFORZmO/MIWSLlBiXMMzOg3+tbXvQXmL17Rbmw="
git:
  submodules: false

before_install:
  - set -e
  - export GALAXY_HOME=/home/galaxy
  - export GALAXY_USER=<EMAIL>
  - export GALAXY_USER_EMAIL=<EMAIL>
  - export GALAXY_USER_PASSWD=<PASSWORD>
  - export BIOBLEND_GALAXY_API_KEY=admin
  - export BIOBLEND_GALAXY_URL=http://localhost:8080
  - export COMPOSE_DIR="${TRAVIS_BUILD_DIR}/compose"

  - sudo apt-get update -qq
  - sudo apt-get install docker-engine --no-install-recommends -y -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew"
  - sudo apt-get install sshpass --no-install-recommends -y

  - docker --version
  - docker info
  # Build a k8s cluster
  - |
    if [ "${KUBE}" ]
    then
      # setup k8s, we will do this before building Galaxy because it takes some time and hopefully we can do both in prallel
      gimme 1.8
      source ~/.gimme/envs/go1.8.env
      sudo ln -s /home/travis/.gimme/versions/go1.7.linux.amd64/bin/gofmt /usr/bin/gofmt
      sudo ln -s /home/travis/.gimme/versions/go1.7.linux.amd64/bin/go /usr/bin/go
      go version
      mkdir ../kubernetes<commit_msg>allow failures in the build matrix for now<commit_after>sudo: required

language: python
python: 2.7

services:
  - docker

env:
  matrix:
    - TOX_ENV=py27
    - COMPOSE_SLURM=True
    # Compose version with Condor submitting Docker jobs
    - COMPOSE_CONDOR_DOCKER=True
    - KUBE=True
  allow_failures:
    - env: KUBE=True
  global:
    - secure: "<KEY>

git:
  submodules: false

before_install:
  - set -e
  - export GALAXY_HOME=/home/galaxy
  - export GALAXY_USER=<EMAIL>
  - export GALAXY_USER_EMAIL=<EMAIL>
  - export GALAXY_USER_PASSWD=<PASSWORD>
  - export BIOBLEND_GALAXY_API_KEY=admin
  - export BIOBLEND_GALAXY_URL=http://localhost:8080
  - export COMPOSE_DIR="${TRAVIS_BUILD_DIR}/compose"

  - sudo apt-get update -qq
  - sudo apt-get install docker-engine --no-install-recommends -y -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew"
  - sudo apt-get install sshpass --no-install-recommends -y

  - docker --version
  - docker info
  # Build a k8s cluster
  - |
    if [ "${KUBE}" ]
    then
      # setup k8s, we will do this before building Galaxy because it takes some time and hopefully we can do both in prallel
      gimme 1.8
      source ~/.gimme/envs/go1.8.env
      sudo ln -s /home/travis/.gimme/versions/go1.7.linux.amd64/bin/gofmt /usr/bin/gofmt
      sudo ln -s /home/travis/.gimme/versions/go1.7.linux.amd64/bin/go /usr/bin/go
      go version
      mkdir ../kubernetes
{'fraction_non_alphanumeric': 0.1161098246774727, 'fraction_numerical': 0.020178630499503806, 'mean_word_length': 3.1142857142857143, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '5119782', 'n_tokens_mistral': 1270, 'n_tokens_neox': 1187, 'n_words': 245}