<commit_before>dist: xenial
sudo: required
language: php

# Note: latest PHP version is tested with coverage; lowest is tested with --prefer-lowest
php:
  - 7.2
  - 7.3
  - 7.4snapshot

env:
  global:
    - DEPLOYMENT=STANDALONE
    - DRIVER_VERSION="stable"
    - ADAPTER_VERSION="^1.0.0"
    - SERVER_DISTRO=ubuntu1604
    - SERVER_VERSION=4.2.0
  matrix:
    - SERVER_VERSION="3.0.15"
    - SERVER_VERSION="3.2.22"
    - SERVER_VERSION="3.4.23"
    - SERVER_VERSION="3.6.14"
    - SERVER_VERSION="4.0.12"
    - SERVER_VERSION="4.2.0"

jobs:
  include:
    # Test against lowest dependencies, including driver and server versions
    - stage: Test
      php: 7.2
      env: DRIVER_VERSION="1.5.0" COMPOSER_FLAGS="--prefer-lowest" SERVER_VERSION="3.0.15"

    # Test sharded cluster functionality
    - stage: Test
      php: 7.3
      env: DEPLOYMENT=SHARDED_CLUSTER_RS
      script:
        - ./vendor/bin/phpunit --group=sharding
<commit_msg>Use a stable version of PHP<commit_after>dist: xenial
sudo: required
language: php

# Note: latest PHP version is tested with coverage; lowest is tested with --prefer-lowest
php:
  - 7.2
  - 7.3
  - 7.4

env:
  global:
    - DEPLOYMENT=STANDALONE
    - DRIVER_VERSION="stable"
    - ADAPTER_VERSION="^1.0.0"
    - SERVER_DISTRO=ubuntu1604
    - SERVER_VERSION=4.2.0
  matrix:
    - SERVER_VERSION="3.0.15"
    - SERVER_VERSION="3.2.22"
    - SERVER_VERSION="3.4.23"
    - SERVER_VERSION="3.6.14"
    - SERVER_VERSION="4.0.12"
    - SERVER_VERSION="4.2.0"

jobs:
  include:
    # Test against lowest dependencies, including driver and server versions
    - stage: Test
      php: 7.2
      env: DRIVER_VERSION="1.5.0" COMPOSER_FLAGS="--prefer-lowest" SERVER_VERSION="3.0.15"

    # Test sharded cluster functionality
    - stage: Test
      php: 7.3
      env: DEPLOYMENT=SHARDED_CLUSTER_RS
      script:
        - ./vendor/bin/phpunit --group=sharding

{'fraction_non_alphanumeric': 0.12434141201264488, 'fraction_numerical': 0.05268703898840885, 'mean_word_length': 2.651923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5772813', 'n_tokens_mistral': 769, 'n_tokens_neox': 713, 'n_words': 143}