<commit_before>language: scala
scala:
   - 2.11.8

env:
  DOCKER_IP: 127.0.0.1
  DOCKER_COMPOSE_VERSION: 1.7.1
  DOCKER_ENGINE_VERSION: 1.11.1

jdk:
  - openjdk8

services:
  - docker

# fix for buffer overflow https://github.com/travis-ci/travis-ci/issues/5227
addons:
  hostname: localhost

# Travis has an old version of docker and docker-compose that is why we need to load from the net and install them.
before_install:
  - sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-precise main" > /etc/apt/sources.list.d/docker.list'
  - sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys <KEY>
  - sudo apt-get update
  - sudo apt-key update
  - sudo apt-get -qqy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install docker-engine=${DOCKER_ENGINE_VERSION}-0~precise
  - sudo rm /usr/local/bin/docker-compose
  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin

before_script:
  - sudo /etc/init.d/postgresql stop
  - bash ./it/src/main/resources/nakadi.sh start

script:
  - sbt clean test<commit_msg>techjira:LAAS-60 Added stop command and matrix<commit_after>language: scala
scala:
   - 2.11.8

env:
  DOCKER_IP: 127.0.0.1
  DOCKER_COMPOSE_VERSION: 1.7.1
  DOCKER_ENGINE_VERSION: 1.11.1
  matrix:
    - DOCKER_IP=127.0.0.1

jdk:
  - openjdk8

services:
  - docker

# fix for buffer overflow https://github.com/travis-ci/travis-ci/issues/5227
addons:
  hostname: localhost

# Travis has an old version of docker and docker-compose that is why we need to load from the net and install them.
before_install:
  - sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-precise main" > /etc/apt/sources.list.d/docker.list'
  - sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys <KEY>
  - sudo apt-get update
  - sudo apt-key update
  - sudo apt-get -qqy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install docker-engine=${DOCKER_ENGINE_VERSION}-0~precise
  - sudo rm /usr/local/bin/docker-compose
  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin

before_script:
  - sudo /etc/init.d/postgresql stop
  - bash ./it/src/main/resources/nakadi.sh start

script:
  - sbt clean test

after_script:
  - bash ./it/src/main/resources/nakadi.sh stop
{'fraction_non_alphanumeric': 0.13751926040061632, 'fraction_numerical': 0.023882896764252697, 'mean_word_length': 3.3573825503355703, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1484367', 'n_tokens_mistral': 1076, 'n_tokens_neox': 986, 'n_words': 218}