<commit_before>language: php

php:
  - 7.2
  - 7.3
  - 7.4
  - nightly

matrix:
  allow_failures:
    - php: 7.4
    - php: nightly

branches:
  only:
  - /.*/

env:
  - GOOGLE_APPLICATION_CREDENTIALS=~/emptycredentials.json

before_script:
  - composer install -o -vvv --no-interaction
  - pecl install grpc
  - pecl install protobuf
  - "sudo echo '{\"type\": \"authorized_user\",\"client_id\": \"\",\"client_secret\": \"\",\"refresh_token\": \"\"}' >> $GOOGLE_APPLICATION_CREDENTIALS"

script:
  - vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
  - vendor/bin/phpcs --standard=phpcs_ruleset.xml -np

after_success:
  - bash <(curl -s https://codecov.io/bash)<commit_msg>Fully test PHP 7.4 (#380)<commit_after>language: php

php:
  - 7.2
  - 7.3
  - 7.4
  - nightly

matrix:
  allow_failures:
    - php: nightly

branches:
  only:
  - /.*/

env:
  - GOOGLE_APPLICATION_CREDENTIALS=~/emptycredentials.json

before_script:
  - composer install -o -vvv --no-interaction
  - pecl install grpc
  - pecl install protobuf
  - "sudo echo '{\"type\": \"authorized_user\",\"client_id\": \"\",\"client_secret\": \"\",\"refresh_token\": \"\"}' >> $GOOGLE_APPLICATION_CREDENTIALS"

script:
  - vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
  - vendor/bin/phpcs --standard=phpcs_ruleset.xml -np

after_success:
  - bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.17314487632508835, 'fraction_numerical': 0.01342756183745583, 'mean_word_length': 3.034188034188034, 'pattern_counts': {'":': 8, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6217041', 'n_tokens_mistral': 574, 'n_tokens_neox': 535, 'n_words': 99}