<commit_before>sudo: false

language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0

os:
- linux
- osx

addons:
  code_climate:
    repo_token:
      secure: "<KEY>

before_script:
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source --no-interaction

script:
- mkdir -p build/logs
- vendor/bin/phpcs --standard=PSR1 src/
- vendor/bin/phpcs --standard=PSR2 src/
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"<commit_msg>Added cache directory<commit_after>sudo: false

language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0

os:
- linux
- osx

addons:
  code_climate:
    repo_token:
      secure: "<KEY>

before_script:
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source --no-interaction

script:
- mkdir -p build/logs
- vendor/bin/phpcs --standard=PSR1 src/
- vendor/bin/phpcs --standard=PSR2 src/
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"

cache:
  directories:
  - node_modules
{'fraction_non_alphanumeric': 0.1483739837398374, 'fraction_numerical': 0.02032520325203252, 'mean_word_length': 3.1372549019607843, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '1713989', 'n_tokens_mistral': 596, 'n_tokens_neox': 565, 'n_words': 130}