<commit_before>language: php

php:
  - 5.5.9
  - 5.5
  - 5.6
  - 7.0

matrix:
  fast_finish: true

branches:
  except:
    - gh-pages

before_install:
 - wget https://github.com/satooshi/php-coveralls/releases/download/v0.7.0/coveralls.phar
 - wget -O phpunit.phar https://phar.phpunit.de/phpunit-4.8.27.phar

install:
  - composer self-update
  - composer install

script:
 - vendor/bin/parallel-lint src/
 - vendor/bin/parallel-lint tests/
 - php phpunit.phar -v

after_success:
 - travis_retry php coveralls.phar -v<commit_msg>Adds PHP 7.1 to the Travis build matrix.<commit_after>language: php

php:
  - 5.5.9
  - 5.5
  - 5.6
  - 7.0
  - 7.1

matrix:
  fast_finish: true

branches:
  except:
    - gh-pages

before_install:
 - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
 - if [ "${TRAVIS_PHP_VERSION:0:3}" == "5.5" ]; then PHPUNIT_VERSION=4.8; else PHPUNIT_VERSION=5.7; fi
 - wget -O phpunit.phar https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar

install:
  - composer self-update
  - composer install

script:
 - vendor/bin/parallel-lint src/
 - vendor/bin/parallel-lint tests/
 - php phpunit.phar -v

after_success:
 - travis_retry php coveralls.phar -v
{'fraction_non_alphanumeric': 0.1396694214876033, 'fraction_numerical': 0.03305785123966942, 'mean_word_length': 2.9190938511326863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7335665', 'n_tokens_mistral': 514, 'n_tokens_neox': 487, 'n_words': 91}