<commit_before>sudo: required
services:
  - docker
language: python
python:
  - "2.7"
  - "3.5"
cache:
  directories:
    - $HOME/.pip-cache/

env:
  global:
    - CI_SERVER=true
  matrix:
    - DOCKER_VERSION=1.9.1-0~trusty

install:
  - sudo apt-get -qqy update
  - sudo apt-get remove -y docker-engine
  - sudo bash -c "apt-get -y install docker-engine=$DOCKER_VERSION"
  - pip install pip --upgrade
  - pip install -e .
  - pip install -e '.[tests]'

before_script:
  - "while ! docker info; do sleep 1; done"

script:
  - ./test.sh && ./docker_tests.sh

<commit_msg>Need libgit2-dev for travis<commit_after>sudo: required
services:
  - docker
language: python
python:
  - "2.7"
  - "3.5"
cache:
  directories:
    - $HOME/.pip-cache/

env:
  global:
    - CI_SERVER=true
  matrix:
    - DOCKER_VERSION=1.9.1-0~trusty

install:
  - sudo apt-get -qqy update
  - sudo apt-get remove -y docker-engine
  - sudo bash -c "apt-get -y install docker-engine=$DOCKER_VERSION libgit2-dev"
  - pip install pip --upgrade
  - pip install -e .
  - pip install -e '.[tests]'

before_script:
  - "while ! docker info; do sleep 1; done"

script:
  - ./test.sh && ./docker_tests.sh


{'fraction_non_alphanumeric': 0.1421232876712329, 'fraction_numerical': 0.017123287671232876, 'mean_word_length': 2.5317220543806647, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4683568', 'n_tokens_mistral': 482, 'n_tokens_neox': 448, 'n_words': 116}