<commit_before>language: php

php:
  - 5.3
  - 5.4

env:
  - CAKE_VERSION=master DB=mysql  

before_script:  
  - mysql -e 'create database cloggy_main;' 
  - mysql -e 'create database cloggy_tests;'
  - git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION
  - cp -R ../Cloggy plugins/Cloggy
  - chmod -R 777 ../cakephp/app/tmp
  - ls -l
  - mysql -u root cakephp_test < plugins/Cloggy/Config/sql/cloggy_main.sql    
  - set +H
  - echo "<?php
    class DATABASE_CONFIG {
    private \$identities = array(
      'mysql' => array(
        'datasource' => 'Database/Mysql',
        'host' => '0.0.0.0',
        'login' => 'travis'
      ),
      'pgsql' => array(
        'datasource' => 'Database/Postgres',
        'host' => '127.0.0.1',
        'login' => 'postgres',
        'database' => 'cakephp_test',
        'schema' => array(
          'default' => 'public',
          'test' => 'public'
        )
      )
    );
    public \$default = array(
      'persistent' => false,
      'host' => '',
      'login' => '',
      'password' => '',
      'database' => 'cloggy_main',
      'prefix' => ''<commit_msg>travis ci > change database name to import<commit_after>language: php

php:
  - 5.3
  - 5.4

env:
  - CAKE_VERSION=master DB=mysql  

before_script:  
  - mysql -e 'create database cloggy_main;' 
  - mysql -e 'create database cloggy_tests;'
  - git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION
  - cp -R ../Cloggy plugins/Cloggy
  - chmod -R 777 ../cakephp/app/tmp
  - ls -l
  - mysql -u root cloggy_main < plugins/Cloggy/Config/sql/cloggy_main.sql    
  - set +H
  - echo "<?php
    class DATABASE_CONFIG {
    private \$identities = array(
      'mysql' => array(
        'datasource' => 'Database/Mysql',
        'host' => '0.0.0.0',
        'login' => 'travis'
      ),
      'pgsql' => array(
        'datasource' => 'Database/Postgres',
        'host' => '127.0.0.1',
        'login' => 'postgres',
        'database' => 'cakephp_test',
        'schema' => array(
          'default' => 'public',
          'test' => 'public'
        )
      )
    );
    public \$default = array(
      'persistent' => false,
      'host' => '',
      'login' => '',
      'password' => '',
      'database' => 'cloggy_main',
      'prefix' => ''
{'fraction_non_alphanumeric': 0.17863175675675674, 'fraction_numerical': 0.015202702702702704, 'mean_word_length': 1.9836272040302267, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '164979', 'n_tokens_mistral': 900, 'n_tokens_neox': 853, 'n_words': 184}