<commit_before>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0

env:
  global:
    - PLUGIN_NAME=CakeResque
    - REQUIRE=""
    - DB=mysql CAKE_VERSION=3.0
  matrix:
    - DB=mysql CAKE_VERSION=3.0
    - DB=mysql CAKE_VERSION=master

matrix:
  include:
    - php: 5.4
      env:
        - COVERALLS=1
    - php: 7.0
      env:
        - PHPCS=1
    - php: 5.4
      env:
        - FOC_VALIDATE=1

services:
  - redis-server

before_script:
  - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
  - ../travis/before_script.sh

script:
  - ../travis/script.sh

after_success:
  - ../travis/after_success.sh

notifications:
  email: false<commit_msg>Remove FriendsOfCake<commit_after>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0

sudo: false

env:
  global:
    - DEFAULT=1
    - DB=sqlite db_dsn='sqlite:///:memory:'

matrix:
  fast_finish: true

  include:
  - php: 5.4
    env: PHPCS=1 DEFAULT=0

  - php: 5.4
    env: COVERALLS=1 DEFAULT=0 DB=mysql db_dsn='mysql://travis@0.0.0.0/cakephp_test'

services:
  - redis-server

install:
  - composer self-update
  - composer install --prefer-dist --no-interaction --dev

before_script:
  - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - sh -c "if [ '$PHPCS' = '1' ]; then composer require cakephp/cakephp-codesniffer:dev-master; fi"
  - sh -c "if [ '$COVERALLS' = '1' ]; then composer require --dev satooshi/php-coveralls:dev-master; fi"
  - sh -c "if [ '$COVERALLS' = '1' ]; then mkdir -p build/logs; fi"

  - phpenv rehash
  - set +H

script:
  - sh -c "if [ '$DEFAULT' = '1' ]; then phpunit --stderr; fi"
  - sh -c "if [ '$PHPCS' = '1' ]; then ./vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"
  - sh -c "if [ '$COVERALLS' = '1' ]; then phpunit --stderr --coverage-clover build/logs/clover.xml; fi"
  - sh -c "if [ '$COVERALLS' = '1' ]; then php vendor/bin/coveralls -c .coveralls.yml -v; fi"

notifications:
  email: false
{'fraction_non_alphanumeric': 0.167693036475604, 'fraction_numerical': 0.023685457129322594, 'mean_word_length': 2.4679802955665027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 1, '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': '6360547', 'n_tokens_mistral': 899, 'n_tokens_neox': 867, 'n_words': 186}