<commit_before>language: php

php:
  - 5.6
  - 7.0
  - 7.1
  - hhvm

# faster builds on new travis setup not using sudo
sudo: false

# cache vendor dirs
cache:
  directories:
    - vendor
    - $HOME/.composer/cache


install:
  - travis_retry composer self-update && composer --version
  - travis_retry composer install --no-interaction
  - export PATH="$HOME/.composer/vendor/bin:$PATH"

before_script:
  # show some versions and env information
  - php -r "echo INTL_ICU_VERSION . \"\n\";"
  - php -r "echo INTL_ICU_DATA_VERSION . \"\n\";"

  - |
    if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
      PHPUNIT_FLAGS="--coverage --coverage-xml coverage.clover"
    fi
script:
  - php vendor/bin/codecept run $PHPUNIT_FLAGS

after_script:
  - |
    if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
      travis_retry wget https://scrutinizer-ci.com/ocular.phar
      php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.clover
    fi
<commit_msg>update travis<commit_after>language: php

php:
  - 7.0
  - 7.1

# faster builds on new travis setup not using sudo
sudo: false

# cache vendor dirs
cache:
  directories:
    - vendor
    - $HOME/.composer/cache


install:
  - travis_retry composer self-update && composer --version
  - travis_retry composer install --no-interaction
  - export PATH="$HOME/.composer/vendor/bin:$PATH"

before_script:
  # show some versions and env information
  - php -r "echo INTL_ICU_VERSION . \"\n\";"
  - php -r "echo INTL_ICU_DATA_VERSION . \"\n\";"

  - |
    if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
      PHPUNIT_FLAGS="--coverage --coverage-xml coverage.clover"
    fi
script:
  - php vendor/bin/codecept run $PHPUNIT_FLAGS

after_script:
  - |
    if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
      travis_retry wget https://scrutinizer-ci.com/ocular.phar
      php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.clover
    fi

{'fraction_non_alphanumeric': 0.1253277399056109, 'fraction_numerical': 0.009438909281594127, 'mean_word_length': 2.870182555780933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1586229', 'n_tokens_mistral': 718, 'n_tokens_neox': 690, 'n_words': 161}