<commit_before>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

install:
  - composer self-update
  - composer global require fxp/composer-asset-plugin:~1.0
  - composer install

before_script:
  - mysql -e 'create database yii2_translateable_test;'

script:
  - vendor/bin/codecept run --coverage --xml

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover tests/_log/coverage.xml<commit_msg>Update Travis with coverage file<commit_after>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

install:
  - composer self-update
  - composer global require fxp/composer-asset-plugin:~1.0
  - composer install

before_script:
  - mysql -e 'create database yii2_translateable_test;'

script:
  - "wget http://codeception.com/codecept.phar"
  - php ./codecept.phar build
  - php ./codecept.phar run --coverage --xml

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover tests/_log/coverage.xml
{'fraction_non_alphanumeric': 0.12391093901258471, 'fraction_numerical': 0.017424975798644726, 'mean_word_length': 3.1031746031746033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5845474', 'n_tokens_mistral': 401, 'n_tokens_neox': 383, 'n_words': 79}