<commit_before>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

env:
- PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=$CAIRIS_SRC/config/cairis.cnf 

install: "pip install mysql-python==1.2.3 pyparsing==1.5.7 pydot pytest python-coveralls"

before_script:
 - mysql --user=root --password='' < $CAIRIS_SRC/test/createdb.sql
 - mysql --user=irisuser --password='' --database=arm < $CAIRIS_SRC/sql/init.sql
 - mysql --user=irisuser --password='' --database=arm < $CAIRIS_SRC/sql/procs.sql

script: 
 - py.test

after_success:
  coveralls
<commit_msg>Add flags to py.test<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

env:
- PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=$CAIRIS_SRC/config/cairis.cnf 

install: "pip install mysql-python==1.2.3 pyparsing==1.5.7 pydot pytest python-coveralls"

before_script:
 - mysql --user=root --password='' < $CAIRIS_SRC/test/createdb.sql
 - mysql --user=irisuser --password='' --database=arm < $CAIRIS_SRC/sql/init.sql
 - mysql --user=irisuser --password='' --database=arm < $CAIRIS_SRC/sql/procs.sql

script: 
 - py.test --doctest-modules --pep8 coveralls -v --cov coveralls --cov-report term-missing

after_success:
  coveralls

{'fraction_non_alphanumeric': 0.1396083385975995, 'fraction_numerical': 0.010739102969046115, 'mean_word_length': 2.930521091811414, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2516069', 'n_tokens_mistral': 629, 'n_tokens_neox': 596, 'n_words': 109}