<commit_before>language: php

php:
    - 7.1
    - 7.0
    - 5.6

env:
    global:
        - COMPOSER_OPTIONS=""

matrix:
    include:
        - php: 5.6
          env: COMPOSER_OPTIONS="--prefer-lowest"
        - php: nightly
    allow_failures:
        - php: nightly
    fast_finish: true

cache:
    directories:
        - vendor

before_install:
    - phpenv config-rm xdebug.ini || true

    - composer self-update

install:
    - composer update --prefer-dist $COMPOSER_OPTIONS

script:
    - composer validate --strict

    - vendor/bin/behat --strict<commit_msg>Remove "composer self-update" from Travis CI (it's done automatically)<commit_after>language: php

php:
    - 7.1
    - 7.0
    - 5.6

env:
    global:
        - COMPOSER_OPTIONS=""

matrix:
    include:
        - php: 5.6
          env: COMPOSER_OPTIONS="--prefer-lowest"
        - php: nightly
    allow_failures:
        - php: nightly
    fast_finish: true

cache:
    directories:
        - vendor

before_install:
    - phpenv config-rm xdebug.ini || true

install:
    - composer update --prefer-dist $COMPOSER_OPTIONS

script:
    - composer validate --strict

    - vendor/bin/behat --strict
{'fraction_non_alphanumeric': 0.107600341588386, 'fraction_numerical': 0.013663535439795047, 'mean_word_length': 1.9447236180904524, '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': '1938766', 'n_tokens_mistral': 426, 'n_tokens_neox': 402, 'n_words': 91}