<commit_before>language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6

services:
  - memcached # will start memcached

env:
  - DOCTRINE_VERSION=v1.2.0 ZEND_VERSION=2.1.* DESARROLLA_VERSION=1.5.0
  - DOCTRINE_VERSION=v1.3.0 ZEND_VERSION=2.2.* DESARROLLA_VERSION=1.6.0
  - DOCTRINE_VERSION=1.4.*@dev ZEND_VERSION=2.3.*@dev DESARROLLA_VERSION=1.7.0
  - DOCTRINE_VERSION=dev-master ZEND_VERSION=dev-master DESARROLLA_VERSION=dev-master

before_script:
  - echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - composer self-update
  - composer require --no-update phpunit/phpunit:*
  - composer require --no-update mikey179/vfsStream:1.3.*@dev
  - composer require --no-update zetacomponents/cache:dev-master
  - composer require --no-update doctrine/cache:${DOCTRINE_VERSION}
  - composer require --no-update zendframework/zend-stdlib:${ZEND_VERSION}
  - composer require --no-update zendframework/zend-eventmanager:${ZEND_VERSION}
  - composer require --no-update zendframework/zend-servicemanager:${ZEND_VERSION}
  - composer require --no-update zendframework/zend-cache:${ZEND_VERSION}
  - composer require --no-update desarrolla2/cache:${DESARROLLA_VERSION}
  - composer update --no-dev --prefer-source
  - php vendor/autoload.php

script:
  - phpunit --configuration tests/phpunit.xml --coverage-text --coverage-clover=coverage.clover --colors --verbose

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
      - php ocular.phar code-coverage:upload --format=php-clover coverage.clover<commit_msg>add zend-config 2.4 to config for travis<commit_after>language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6

services:
  - memcached # will start memcached

env:
  - DOCTRINE_VERSION=v1.1 ZEND_VERSION=2.1.* DESARROLLA_VERSION=1.4.0
  - DOCTRINE_VERSION=v1.2.0 ZEND_VERSION=2.2.* DESARROLLA_VERSION=1.5.0
  - DOCTRINE_VERSION=v1.3.0 ZEND_VERSION=2.3.* DESARROLLA_VERSION=1.6.0
  - DOCTRINE_VERSION=1.4.*@dev ZEND_VERSION=2.4.*@dev DESARROLLA_VERSION=1.7.0
  - DOCTRINE_VERSION=dev-master ZEND_VERSION=dev-master DESARROLLA_VERSION=dev-master

before_script:
  - echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - composer self-update
  - composer require --no-update phpunit/phpunit:*
  - composer require --no-update mikey179/vfsStream:1.3.*@dev
  - composer require --no-update zetacomponents/cache:dev-master
  - composer require --no-update doctrine/cache:${DOCTRINE_VERSION}
  - composer require --no-update zendframework/zend-stdlib:${ZEND_VERSION}
  - composer require --no-update zendframework/zend-eventmanager:${ZEND_VERSION}
  - composer require --no-update zendframework/zend-servicemanager:${ZEND_VERSION}
  - composer require --no-update zendframework/zend-cache:${ZEND_VERSION}
  - composer require --no-update desarrolla2/cache:${DESARROLLA_VERSION}
  - composer update --no-dev --prefer-source
  - php vendor/autoload.php

script:
  - phpunit --configuration tests/phpunit.xml --coverage-text --coverage-clover=coverage.clover --colors --verbose

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
{'fraction_non_alphanumeric': 0.1473965287049399, 'fraction_numerical': 0.022162883845126834, 'mean_word_length': 3.8586251621271077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '283125', 'n_tokens_mistral': 1430, 'n_tokens_neox': 1396, 'n_words': 220}