<commit_before>language: php

branches:
  only:
    - master
    - develop

env:
  - DB=mysql

php:
  - 5.3
  - 5.4

before_script:
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev
  - git clone https://github.com/LokeyCoding/magento-mirror.git -b magento-1.7 magento
  - mysql -e 'CREATE DATABASE IF NOT EXISTS `magento_travis`;'
  - php -f magento/install.php -- --license_agreement_accepted yes --locale en_US --timezone Europe/Berlin --default_currency EUR --db_host localhost --db_name magento_travis --db_user root --db_pass "" --url http://travis.magento.local/ --skip_url_validation yes --use_rewrites yes --use_secure no --secure_base_url --use_secure_admin no --admin_firstname John --admin_lastname Doe --admin_email <EMAIL> --admin_username admin --admin_password <PASSWORD>
  - setenv N98_MAGERUN_TEST_MAGENTO_ROOT=./magento
  -

script: vendor/bin/phpunit<commit_msg>Fixed wrong setenv command<commit_after>language: php

branches:
  only:
    - master
    - develop

env:
  - DB=mysql

php:
  - 5.3
  - 5.4

before_script:
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev
  - git clone https://github.com/LokeyCoding/magento-mirror.git -b magento-1.7 magento
  - mysql -e 'CREATE DATABASE IF NOT EXISTS `magento_travis`;'
  - php -f magento/install.php -- --license_agreement_accepted yes --locale en_US --timezone Europe/Berlin --default_currency EUR --db_host localhost --db_name magento_travis --db_user root --db_pass "" --url http://travis.magento.local/ --skip_url_validation yes --use_rewrites yes --use_secure no --secure_base_url --use_secure_admin no --admin_firstname John --admin_lastname Doe --admin_email <EMAIL> --admin_username admin --admin_password <PASSWORD>
  - export N98_MAGERUN_TEST_MAGENTO_ROOT=./magento
  -

script: vendor/bin/phpunit
{'fraction_non_alphanumeric': 0.12209616423554835, 'fraction_numerical': 0.00864397622906537, 'mean_word_length': 3.3271028037383177, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '5466765', 'n_tokens_mistral': 672, 'n_tokens_neox': 657, 'n_words': 156}