<commit_before>language: php
php:
  - 5.3
  - 5.4

before_script:
  - cp app/config/parameters.yml.dist app/config/parameters.yml
  - wget http://getcomposer.org/composer.phar
  - php composer.phar install
  - mysql -uroot -e 'create database bikini character set utf8 default character set utf8 collate utf8_general_ci default collate utf8_general_ci;'
  - mysql -uroot -e 'grant all on bikini.* to bikini@localhost identified by "bikini";'
  - php app/console doctrine:schema:create
  - php app/console doctrine:fixtures:load
  - pyrus install pear/PHP_CodeSniffer
  - pear channel-discover pear.phpunit.de
  - pear channel-discover components.ez.no
  - pear install phpunit/phpcpd
  - phpenv rehash

script:
  - phpunit -c app/phpunit.xml
  - phpcs --standard=PSR2 ./src/
  - phpcpd ./src/<commit_msg>travis: add append for non-interactive load<commit_after>language: php
php:
  - 5.3
  - 5.4

before_script:
  - cp app/config/parameters.yml.dist app/config/parameters.yml
  - wget http://getcomposer.org/composer.phar
  - php composer.phar install
  - mysql -uroot -e 'create database bikini character set utf8 default character set utf8 collate utf8_general_ci default collate utf8_general_ci;'
  - mysql -uroot -e 'grant all on bikini.* to bikini@localhost identified by "bikini";'
  - php app/console doctrine:schema:create
  - php app/console doctrine:fixtures:load --append
  - pyrus install pear/PHP_CodeSniffer
  - pear channel-discover pear.phpunit.de
  - pear channel-discover components.ez.no
  - pear install phpunit/phpcpd
  - phpenv rehash

script:
  - phpunit -c app/phpunit.xml
  - phpcs --standard=PSR2 ./src/
  - phpcpd ./src/
{'fraction_non_alphanumeric': 0.100789313904068, 'fraction_numerical': 0.01092896174863388, 'mean_word_length': 3.382978723404255, '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': '3539961', 'n_tokens_mistral': 593, 'n_tokens_neox': 569, 'n_words': 151}