<commit_before>language: python

python:
  - "2.7"

sudo: required

services:
  - docker

env:
  global:
    - DOCKER_VERSION=1.12.0-0~trusty
    - DOCKER_COMPOSE_VERSION=1.6.2

before_install:
  - apt-cache madison docker-engine
  - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}
  - sudo rm -f /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

install: 
  - pip install coveralls

cache:
  directories:
    - $HOME/.cache/pip
    - /var/lib/docker

before_script:
  - docker-compose up -d db
  - docker-compose run documentregister setuplocaldb

script:
  - docker-compose run documentregister test_coverage

after_success:
    - coveralls
<commit_msg>Try manually specifying the files for coveralls<commit_after>language: python

python:
  - "2.7"

sudo: required

services:
  - docker

env:
  global:
    - DOCKER_VERSION=1.12.0-0~trusty
    - DOCKER_COMPOSE_VERSION=1.6.2

before_install:
  - apt-cache madison docker-engine
  - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}
  - sudo rm -f /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

install: 
  - pip install coveralls

cache:
  directories:
    - $HOME/.cache/pip
    - /var/lib/docker

before_script:
  - docker-compose up -d db
  - docker-compose run documentregister setuplocaldb

script:
  - docker-compose run documentregister test_coverage

after_success:
    - coveralls --config_file=.coveragerc --data_file=.coverage

{'fraction_non_alphanumeric': 0.12393162393162394, 'fraction_numerical': 0.010683760683760684, 'mean_word_length': 3.3057471264367817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1292345', 'n_tokens_mistral': 734, 'n_tokens_neox': 682, 'n_words': 136}