<commit_before>language: php

dist: trusty

sudo: false

env:
    global:
        - SYLIUS_CACHE_DIR=$HOME/.sylius-cache
        - SYLIUS_BUILD_DIR=etc/build

matrix:
    include:
        -
            php: 7.1
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="3.4.*"
            services:
                - memcached
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.1
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="4.0.*"
            services:
                - memcached
        -
            php: 7.1
            env:
                - SYLIUS_SUITE="docs packages"
                - SYMFONY_VERSION="3.4.*"
            addons:
                apt:
                    packages:
                        - parallel
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.1
            env:
                - SYLIUS_SUITE="docs packages"
                - SYMFONY_VERSION="4.0.*"
            addons:
                apt:
                    packages:
                        - parallel
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.2
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="3.4.*"
            services:
                - memcached
        -
            php: 7.2
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="4.0.*"
            services:
                - memcached
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.2
            env:
                - SYLIUS_SUITE="packages"
                - SYMFONY_VERSION="3.4.*"
            addons:
                apt:
                    packages:
                        - parallel
        -
            php: 7.2
            env:
                - SYLIUS_SUITE="packages"
                - SYMFONY_VERSION="4.0.*"
            addons:
                apt:
                    packages:
                        - parallel
    allow_failures:
        - env:
            - SYLIUS_SUITE="application"
            - SYMFONY_VERSION="4.0.*"
    fast_finish: true

cache:
    yarn: true
    directories:
        - ~/.composer/cache/files
        - ~/.cache/pip
        - node_modules
        - $SYLIUS_CACHE_DIR

before_install:
    - etc/travis/run-suite before_install "${SYLIUS_SUITE}"
<commit_msg>Require passing build for Symfony 4 on Travis<commit_after>language: php

dist: trusty

sudo: false

env:
    global:
        - SYLIUS_CACHE_DIR=$HOME/.sylius-cache
        - SYLIUS_BUILD_DIR=etc/build

matrix:
    include:
        -
            php: 7.1
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="3.4.*"
            services:
                - memcached
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.1
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="4.0.*"
            services:
                - memcached
        -
            php: 7.1
            env:
                - SYLIUS_SUITE="docs packages"
                - SYMFONY_VERSION="3.4.*"
            addons:
                apt:
                    packages:
                        - parallel
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.1
            env:
                - SYLIUS_SUITE="docs packages"
                - SYMFONY_VERSION="4.0.*"
            addons:
                apt:
                    packages:
                        - parallel
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.2
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="3.4.*"
            services:
                - memcached
        -
            php: 7.2
            env:
                - SYLIUS_SUITE="application"
                - SYMFONY_VERSION="4.0.*"
            services:
                - memcached
        -
            if: type IN (cron, api) OR tag IS present
            php: 7.2
            env:
                - SYLIUS_SUITE="packages"
                - SYMFONY_VERSION="3.4.*"
            addons:
                apt:
                    packages:
                        - parallel
        -
            php: 7.2
            env:
                - SYLIUS_SUITE="packages"
                - SYMFONY_VERSION="4.0.*"
            addons:
                apt:
                    packages:
                        - parallel

cache:
    yarn: true
    directories:
        - ~/.composer/cache/files
        - ~/.cache/pip
        - node_modules
        - $SYLIUS_CACHE_DIR

before_install:
    - etc/travis/run-suite before_install "${SYLIUS_SUITE}"

{'fraction_non_alphanumeric': 0.08825961140967342, 'fraction_numerical': 0.013848697809011988, 'mean_word_length': 0.851185921958684, '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': '6903591', 'n_tokens_mistral': 1455, 'n_tokens_neox': 1352, 'n_words': 265}