<commit_before>#! /bin/bash
#####################################################
#                                                   #
# Requires the presence of a lifelab mysql database #
#                                                   #
#####################################################
curl -sS https://getcomposer.org/installer | php
rm -rf vendor/ bin
php composer.phar install
rm -rf app/cache
cp app/config/parameters.yml.dist app/config/parameters.yml
sed  -i 's/<database username>/symfony/' app/config/parameters.yml
sed  -i 's/<database password>/symfony/' app/config/parameters.yml
php app/console doctrine:schema:update --force
bin/phpunit -c app/<commit_msg>Added junit-style xml generation for Jenkins<commit_after>#! /bin/bash
#####################################################
#                                                   #
# Requires the presence of a lifelab mysql database #
#                                                   #
#####################################################
curl -sS https://getcomposer.org/installer | php
rm -rf vendor/ bin
php composer.phar install
rm -rf app/cache
cp app/config/parameters.yml.dist app/config/parameters.yml
sed  -i 's/<database username>/symfony/' app/config/parameters.yml
sed  -i 's/<database password>/symfony/' app/config/parameters.yml
php app/console doctrine:schema:update --force
bin/phpunit -c app/ --log-junit log-junit.xml
{'fraction_non_alphanumeric': 0.24101479915433405, 'fraction_numerical': 0.0, 'mean_word_length': 2.55, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5943531', 'n_tokens_mistral': 367, 'n_tokens_neox': 343, 'n_words': 94}