<commit_before>language: python
python:
- '2.7'
### test dependencies ###
#addons:
#  postgresql: "9.4"
#services:
#- postgresql"
#- redis-server
#sudo: required
cache: 
### test dependencies ###
#install:
#- pip install celery
#- celery -A plenario.celery_app worker --loglevel=info &
#- sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'password';"
#- sudo -u postgres psql -c "CREATE DATABASE plenario_test;"
#- sudo -u postgres psql -c "CREATE EXTENSION postgis;" plenario_test
#- pip install -r requirements.txt
#- python init_db.py
#- python runserver.py &
script:
- echo "<<insert test suite here>>"<commit_msg>Push trigger.<commit_after>language: python
python:
- '2.7'
### test dependencies ###
#addons:
#  postgresql: "9.4"
#services:
#- postgresql"
#- redis-server
#sudo: required
### test dependencies ###
#install:
#- pip install celery
#- celery -A plenario.celery_app worker --loglevel=info &
#- sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'password';"
#- sudo -u postgres psql -c "CREATE DATABASE plenario_test;"
#- sudo -u postgres psql -c "CREATE EXTENSION postgis;" plenario_test
#- pip install -r requirements.txt
#- python init_db.py
#- python runserver.py &
script:
- echo "<<insert test suite here>>"
{'fraction_non_alphanumeric': 0.1488, 'fraction_numerical': 0.0064, 'mean_word_length': 4.323404255319149, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '556767', 'n_tokens_mistral': 456, 'n_tokens_neox': 445, 'n_words': 135}