<commit_before>language: php

php:
  - 7.2
  - 7.3
  - 7.4
  - 8.0

env:
  matrix:
    - BUILD_DOCS=false

matrix:
  allow_failures:
    - php: 8.0
    - php: 7.4

  fast_finish: false
  include:
    - php: 7.1
      env: BUILD_DOCS=true

before_install:
  # Setup Git
  - git config --global user.email "<EMAIL>"
  - git config --global user.name "<NAME>"

  # Setup Composer
  - composer global config minimum-stability dev
  - composer global config prefer-stable true
  - export PATH=$HOME/.config/composer/vendor/bin:$PATH

  # Install/update Yarn
  # - curl -o- -L https://yarnpkg.com/install.sh | bash
  # - export PATH=$HOME/.yarn/bin:$PATH

  # Variables
  - source .travis/docs-variables
<commit_msg>Travis: Try to build docs in PHP 7.2<commit_after>language: php

php:
  - 7.1
  - 7.3
  - 7.4
  - 8.0

env:
  matrix:
    - BUILD_DOCS=false

matrix:
  allow_failures:
    - php: 8.0

  fast_finish: false
  include:
    - php: 7.2
      env: BUILD_DOCS=true

before_install:
  # Setup Git
  - git config --global user.email "<EMAIL>"
  - git config --global user.name "<NAME>"

  # Setup Composer
  - composer global config minimum-stability dev
  - composer global config prefer-stable true
  - export PATH=$HOME/.config/composer/vendor/bin:$PATH

  # Install/update Yarn
  # - curl -o- -L https://yarnpkg.com/install.sh | bash
  # - export PATH=$HOME/.yarn/bin:$PATH

  # Variables
  - source .travis/docs-variables

{'fraction_non_alphanumeric': 0.12955182072829133, 'fraction_numerical': 0.0196078431372549, 'mean_word_length': 2.4684466019417477, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '283843', 'n_tokens_mistral': 564, 'n_tokens_neox': 524, 'n_words': 129}