<commit_before>language: php

sudo: false

php:
  - 5.6
  - 5.5
  - 5.4

# cache composer downloads so installing is quicker
cache:
  directories:
    - $HOME/.composer/cache

addons:
  code_climate:
    repo_token: 9deb249b01a414d979959cfd05a4c351b19a5959858653b20276454d4189edc3

before_script:
  - sh tools/travis/setup-mail.sh
  - cp phinx.yml.dist phinx.yml
  - composer self-update
  - composer install

script:
  - sh tools/travis/build.sh

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>Fix: Update composer binary in before_install section<commit_after>language: php

sudo: false

php:
  - 5.6
  - 5.5
  - 5.4

# cache composer downloads so installing is quicker
cache:
  directories:
    - $HOME/.composer/cache

addons:
  code_climate:
    repo_token: 9deb249b01a414d979959cfd05a4c351b19a5959858653b20276454d4189edc3
    
before_install:
  - composer self-update
  
before_script:
  - sh tools/travis/setup-mail.sh
  - cp phinx.yml.dist phinx.yml
  - composer install

script:
  - sh tools/travis/build.sh

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"
{'fraction_non_alphanumeric': 0.10663021189336978, 'fraction_numerical': 0.07518796992481203, 'mean_word_length': 3.5046153846153847, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2516339', 'n_tokens_mistral': 632, 'n_tokens_neox': 553, 'n_words': 118}