<commit_before>language: python
python:
- '3.7'
dist: bionic
sudo: required
services:
- mysql
addons:
  apt:
    packages:
    - python-dev
    - build-essential
    - graphviz
    - python3-pip
    - python3-numpy
    - python3-mysqldb
    - git
    - libmysqlclient-dev
    - docbook
    - python3-apt
    - dblatex
    - texlive-latex-extra
    - docbook-utils
    - libxml2-dev
    - libxslt1-dev
    - pandoc

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

before_install: 
- sudo cp $CAIRIS_CFG_DIR/mysqld.cnf /etc/mysql/mysql.conf.d/
- sudo service mysql restart

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

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>Add potentially missing packages for Travis<commit_after>language: python
python:
- '3.7'
dist: bionic
sudo: required
services:
- mysql
addons:
  apt:
    packages:
    - python3-dev
    - build-essential
    - mysql-server
    - mysql-client
    - graphviz
    - python3-pip
    - python3-numpy
    - python3-mysqldb
    - git
    - libmysqlclient-dev
    - docbook
    - python3-apt
    - dblatex
    - texlive-latex-extra
    - docbook-utils
    - libxml2-dev
    - libxslt1-dev
    - pandoc

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

before_install: 
- sudo cp $CAIRIS_CFG_DIR/mysqld.cnf /etc/mysql/mysql.conf.d/
- sudo service mysql restart

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

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.10332836562344759, 'fraction_numerical': 0.008445106805762544, 'mean_word_length': 2.828897338403042, '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': '442739', 'n_tokens_mistral': 794, 'n_tokens_neox': 776, 'n_words': 145}