<commit_before>language: python
python: 
 - "2.7"
 - "3.6"

sudo: false

addons:
  apt:
    packages:
    - python-dev 
    - build-essential 
    - mysql-server 
    - mysql-client 
    - graphviz 
    - python-pip 
    - python-numpy 
    - git 
    - libmysqlclient-dev
    - docbook
    - python-apt
    - dblatex
    - texlive-latex-extra 
    - docbook-utils
    - inkscape
    - libxml2-dev
    - libxslt1-dev

env:
- PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=cairis_travis.cnf XML_CATALOG_FILES=$CAIRIS_SRC/config/catalog $CAIRIS_CFG_DIR=./travisConfig

install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install coveralls

script: 
- py.test cairis/test --doctest-modules -v --cov cairis/core cairis/daemon cairis/controllers cairis/data cairis/tools --cov-report term-missing

after_success:
- coveralls
- codecov 
<commit_msg>Switch off Python3 testing<commit_after>language: python
python: 
 - "2.7"

sudo: false

addons:
  apt:
    packages:
    - python-dev 
    - build-essential 
    - mysql-server 
    - mysql-client 
    - graphviz 
    - python-pip 
    - python-numpy 
    - git 
    - libmysqlclient-dev
    - docbook
    - python-apt
    - dblatex
    - texlive-latex-extra 
    - docbook-utils
    - inkscape
    - libxml2-dev
    - libxslt1-dev

env:
- PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=cairis_travis.cnf XML_CATALOG_FILES=$CAIRIS_SRC/config/catalog $CAIRIS_CFG_DIR=./travisConfig

install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install coveralls

script: 
- py.test cairis/test --doctest-modules -v --cov cairis/core cairis/daemon cairis/controllers cairis/data cairis/tools --cov-report term-missing

after_success:
- coveralls
- codecov 

{'fraction_non_alphanumeric': 0.1036036036036036, 'fraction_numerical': 0.006193693693693694, 'mean_word_length': 2.561122244488978, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7001845', 'n_tokens_mistral': 702, 'n_tokens_neox': 674, 'n_words': 124}