<commit_before>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  # - hhvm

sudo: true

before_install:
  - chmod a+x bootstrap/tests/memcached.sh

install:
  - bootstrap/tests/memcached.sh

env:
  - PHALCON_VERSION="2.0.x"
  # - PHALCON_VERSION="phalcon-v2.0.3"
  # - PHALCON_VERSION="phalcon-v2.0.2"
  # - PHALCON_VERSION="phalcon-v2.0.1"
  # - PHALCON_VERSION="phalcon-v2.0.0"

before_script:
  - export HTTPS_PROXY_REQUEST_FULLURI=false
  - export HTTP_PROXY_REQUEST_FULLURI=true
  - chmod a+x bootstrap/tests/install-php-extension.sh
  - bootstrap/tests/install-php-extension.sh ${PHALCON_VERSION}
  - php -r 'echo \Phalcon\Version::get()."\n";'
  - travis_retry composer self-update
  - travis_retry composer require phpunit/phpunit --prefer-stable
  - travis_retry composer require mockery/mockery --prefer-stable
  - travis_retry composer update --prefer-source --no-interaction --prefer-stable

script: vendor/bin/phpunit -c ./bootstrap/phpunit.xml

services:
  - memcached<commit_msg>commenting out the memcache<commit_after>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  # - hhvm

sudo: true

# before_install:
#   - chmod a+x bootstrap/tests/memcached.sh

# install:
#   - bootstrap/tests/memcached.sh

env:
  - PHALCON_VERSION="2.0.x"
  # - PHALCON_VERSION="phalcon-v2.0.3"
  # - PHALCON_VERSION="phalcon-v2.0.2"
  # - PHALCON_VERSION="phalcon-v2.0.1"
  # - PHALCON_VERSION="phalcon-v2.0.0"

before_script:
  - export HTTPS_PROXY_REQUEST_FULLURI=false
  - export HTTP_PROXY_REQUEST_FULLURI=true
  - chmod a+x bootstrap/tests/install-php-extension.sh
  - bootstrap/tests/install-php-extension.sh ${PHALCON_VERSION}
  - php -r 'echo \Phalcon\Version::get()."\n";'
  - travis_retry composer self-update
  - travis_retry composer require phpunit/phpunit --prefer-stable
  - travis_retry composer require mockery/mockery --prefer-stable
  - travis_retry composer update --prefer-source --no-interaction --prefer-stable

script: vendor/bin/phpunit -c ./bootstrap/phpunit.xml

# services:
#   - memcached
{'fraction_non_alphanumeric': 0.13564356435643565, 'fraction_numerical': 0.02178217821782178, 'mean_word_length': 3.393478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6287192', 'n_tokens_mistral': 818, 'n_tokens_neox': 797, 'n_words': 124}