<commit_before>language: php

php:
  - 5.3
  - 5.4
  - 5.5

env:
  - CAKE_VERSION=2.2.9
  - CAKE_VERSION=2.3.10
  - CAKE_VERSION=master
  - CAKE_VERSION=2.5

before_script:
  - git clone --depth 1 --branch $CAKE_VERSION git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp
  - cp -R ../CakePdf plugins/CakePdf
  - sudo touch /usr/bin/wkhtmltopdf && sudo chmod +x /usr/bin/wkhtmltopdf

script:
  - ./lib/Cake/Console/cake test CakePdf AllCakePdf


notifications:
  email: false
<commit_msg>Fix travis build file<commit_after>language: php

php:
  - 5.4
  - 5.5
  - 5.6

env:
  global:
    - DEFAULT=1

matrix:
  allow_failures:
    - php: 5.4
      env: PHPCS=1 DEFAULT=0

    - php: hhvm

    - php: hhvm-nightly

  fast_finish: true

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

    - php: hhvm

    - php: hhvm-nightly

before_script:
  - composer self-update
  - composer install --prefer-source --no-interaction --dev

  - sh -c "if [ '$PHPCS' = '1' ]; then pear channel-discover pear.cakephp.org; fi"
  - sh -c "if [ '$PHPCS' = '1' ]; then pear install --alldeps cakephp/CakePHP_CodeSniffer; fi"

  - phpenv rehash
  - set +H
  - cp phpunit.xml.dist phpunit.xml

script:
  - sh -c "if [ '$DEFAULT' = '1' ]; then phpunit --stderr; fi"
  - sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP --ignore=vendor --ignore=tests --ignore=config . ; fi"

notifications:
  email: false

{'fraction_non_alphanumeric': 0.15056022408963585, 'fraction_numerical': 0.024509803921568627, 'mean_word_length': 2.4350961538461537, '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': '7335719', 'n_tokens_mistral': 623, 'n_tokens_neox': 578, 'n_words': 139}