<commit_before>language: python

python:
  #- "3.2"
  #- "3.3"
  - "3.4"
  #- "3.5"

services:
  - mongodb
  - elasticsearch
  
env:
  - MONGODB_URL=mongodb://localhost/widukind_test
  
before_install:
 - "sudo apt-get update -qq"
 - "sudo apt-get install -y build-essential ca-certificates language-pack-en python-dev cython"
 
install:
  - pip install -U pip
  - pip install coveralls
  - pip install -r requirements.txt
  - pip install -r requirements-tests.txt
  - pip install --no-deps -e .

before_script:
  - sleep 5
  - env
  - pip freeze
  - java -version
  - mongo --version
  - curl -XGET localhost:9200?pretty
  #- curl -XPUT localhost:9200/widukind?pretty
  
script:
  - nosetests --with-coverage -s -v dlstats
  - flake8 --exit-zero dlstats
  
branches:
  only:
    - master
    
after_script: coveralls --verbose

notifications:
  email: true
  on_success: always
  on_failure: always

  <commit_msg>Add branches in travis<commit_after>language: python

python:
  #- "3.2"
  #- "3.3"
  - "3.4"
  #- "3.5"

services:
  - mongodb
  - elasticsearch
  
env:
  - MONGODB_URL=mongodb://localhost/widukind_test
  
before_install:
 - "sudo apt-get update -qq"
 - "sudo apt-get install -y build-essential ca-certificates language-pack-en python-dev cython"
 
install:
  - pip install -U pip
  - pip install coveralls
  - pip install -r requirements.txt
  - pip install -r requirements-tests.txt
  - pip install --no-deps -e .

before_script:
  - sleep 5
  - env
  - pip freeze
  - java -version
  - mongo --version
  - curl -XGET localhost:9200?pretty
  #- curl -XPUT localhost:9200/widukind?pretty
  
script:
  - nosetests --with-coverage -s -v dlstats
  - flake8 --exit-zero dlstats
  
branches:
    
after_script: coveralls --verbose

notifications:
  email: true
  on_success: always
  on_failure: always

  
{'fraction_non_alphanumeric': 0.11661166116611661, 'fraction_numerical': 0.019801980198019802, 'mean_word_length': 2.566666666666667, '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': '1615196', 'n_tokens_mistral': 705, 'n_tokens_neox': 672, 'n_words': 169}