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

env:
  global:
    - CAKEPHP_ERROR_CONFIG=""
    - CAKEPHP_SHELL_NAME=test

  matrix:
    - CAKEPHP_VERSION=master

    include:
    - php: 5.4
      env: DB=pgsql db_class='Cake\Database\Driver\Postgres' db_dsn='pgsql:host=127.0.0.1;dbname=cakephp_test' db_database="cakephp_test" db_login='postgres' db_password=''

    - php: 5.4
      env: DB=sqlite db_class='Cake\Database\Driver\Sqlite' db_dsn='sqlite::memory:'

    - php: 5.4
      env: PHPCS=1 DEFAULT=0

    - php: 5.4
      env: COVERALLS=1 DEFAULT=0

before_script:
    - composer self-update
    - composer install --prefer-dist --no-interaction --dev
  
    - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
  
    - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE cakephp_test;' -U postgres; fi"
  
    - sh -c "if [ '$PHPCS' = '1' ]; then pear channel-discover pear.cakephp.org; fi"
    - sh -c "if [ '$PHPCS' = '1' ]; then pear install --alldeps cakephp/CakePHP_CodeSniffer; fi"
  
    - sh -c "if [ '$COVERALLS' = '1' ]; then composer require --dev satooshi/php-coveralls:dev-master; fi"
    - sh -c "if [ '$COVERALLS' = '1' ]; then mkdir -p build/logs; fi"
  
    - phpenv rehash
    - set +H
 
script:
  - ./lib/Cake/Console/cake test CurrencyConverter Controller/Component/CurrencyConverterComponent --stderr
 
notifications:
  email: false
<commit_msg>fix travis<commit_after>language: php
 
php:
  - 5.4
  - 5.5

env:
  global:
    - CAKEPHP_ERROR_CONFIG=""
    - CAKEPHP_SHELL_NAME=test

  matrix:
    - CAKEPHP_VERSION=master

    include:
    - php: 5.4
      env: DB=pgsql db_class='Cake\Database\Driver\Postgres' db_dsn='pgsql:host=127.0.0.1;dbname=cakephp_test' db_database="cakephp_test" db_login='postgres' db_password=''

    - php: 5.4
      env: DB=sqlite db_class='Cake\Database\Driver\Sqlite' db_dsn='sqlite::memory:'

    - php: 5.4
      env: PHPCS=1 DEFAULT=0

    - php: 5.4
      env: COVERALLS=1 DEFAULT=0

before_script:
  - composer self-update
  - composer install --prefer-source --no-interaction --dev
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test2;'; fi"
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test3;'; fi"
  - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE cakephp_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE SCHEMA test2;' -U postgres -d cakephp_test; fi"
  - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE SCHEMA test3;' -U postgres -d cakephp_test; fi"
  - sh -c "if [ '$HHVM' != '1' ]; then echo 'extension = memcached.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
  - phpenv rehash
  - set +H
 
script:
  - ./lib/Cake/Console/cake test CurrencyConverter Controller/Component/CurrencyConverterComponent --stderr
 
notifications:
  email: false

{'fraction_non_alphanumeric': 0.15759408602150538, 'fraction_numerical': 0.017809139784946238, 'mean_word_length': 2.9326287978863936, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '556874', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1169, 'n_words': 279}