<commit_before>language: php

matrix:
    include:
        - php: 5.5
        - php: 5.6
        - php: 7
        - php: hhvm
    allow_failures:
        - php: hhvm

script:
    - phpunit --coverage-clover=coverage.clover

before_script:
    - php -i
    - npm install -g bower
    - composer install
    - mysql -e 'create database fork_test'
    - mysql -u travis fork_test < tools/test_db.sql
    - cp app/config/parameters.yml.travis app/config/parameters.yml

after_success:
  - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
  - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

sudo: false
<commit_msg>Show the logs after a failed test run.<commit_after>language: php

matrix:
    include:
        - php: 5.5
        - php: 5.6
        - php: 7
        - php: hhvm
    allow_failures:
        - php: hhvm

script:
    - phpunit --coverage-clover=coverage.clover

before_script:
    - npm install -g bower
    - composer install
    - mysql -e 'create database fork_test'
    - mysql -u travis fork_test < tools/test_db.sql
    - cp app/config/parameters.yml.travis app/config/parameters.yml

after_success:
  - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
  - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

after_failure:
  - cat app/logs/test.log

sudo: false

{'fraction_non_alphanumeric': 0.12631578947368421, 'fraction_numerical': 0.006578947368421052, 'mean_word_length': 2.51270207852194, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4245039', 'n_tokens_mistral': 580, 'n_tokens_neox': 546, 'n_words': 128}