<commit_before>language: php

sudo: false

git:
    depth: 1

env:
    global:
        - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-progress --optimize-autoloader"
        - TASK_TESTS=1
        - TASK_TESTS_COVERAGE=0
        - TASK_CS=1
        - TASK_SCA=0

matrix:
    fast_finish: true
    include:
        - php: 7.1
          env: DEPLOY=yes TASK_TESTS_COVERAGE=1
        - php: nightly
          env: TASK_SCA=1 COMPOSER_FLAGS="--ignore-platform-reqs" SYMFONY_DEPRECATIONS_HELPER=weak PHP_CS_FIXER_IGNORE_ENV=1
        - php: 5.3
          env: SKIP_LINT_TEST_CASES=1 COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
        - php: 5.4
          env: SKIP_LINT_TEST_CASES=1
        - php: 5.5
          env: SKIP_LINT_TEST_CASES=1
        - php: 5.6
        - php: 7.0
          env: SYMFONY_VERSION="^2.8"
        # Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
        - php: hhvm
          env: SKIP_LINT_TEST_CASES=1
          sudo: required
          dist: trusty
          group: edge

cache:
    directories:
        - $HOME/.composer

before_install:
    # check phpdbg
    - phpdbg --version 2> /dev/null || { echo 'No phpdbg'; export TASK_TESTS_COVERAGE=0; }

    # turn off XDebug
    - phpenv config-rm xdebug.ini || return 0

    # validate tasks configuration<commit_msg>Travis: execute 5.3 job on precise<commit_after>language: php

sudo: false

git:
    depth: 1

env:
    global:
        - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-progress --optimize-autoloader"
        - TASK_TESTS=1
        - TASK_TESTS_COVERAGE=0
        - TASK_CS=1
        - TASK_SCA=0

matrix:
    fast_finish: true
    include:
        - php: 7.1
          env: DEPLOY=yes TASK_TESTS_COVERAGE=1
        - php: nightly
          env: TASK_SCA=1 COMPOSER_FLAGS="--ignore-platform-reqs" SYMFONY_DEPRECATIONS_HELPER=weak PHP_CS_FIXER_IGNORE_ENV=1
        - php: 5.3
          env: SKIP_LINT_TEST_CASES=1 COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
          dist: precise
        - php: 5.4
          env: SKIP_LINT_TEST_CASES=1
        - php: 5.5
          env: SKIP_LINT_TEST_CASES=1
        - php: 5.6
        - php: 7.0
          env: SYMFONY_VERSION="^2.8"
        # Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
        - php: hhvm
          env: SKIP_LINT_TEST_CASES=1
          sudo: required
          dist: trusty
          group: edge

cache:
    directories:
        - $HOME/.composer

before_install:
    # check phpdbg
    - phpdbg --version 2> /dev/null || { echo 'No phpdbg'; export TASK_TESTS_COVERAGE=0; }

    # turn off XDebug
    - phpenv config-rm xdebug.ini || return 0

    # validate tasks configuration
{'fraction_non_alphanumeric': 0.09110396570203644, 'fraction_numerical': 0.021436227224008574, 'mean_word_length': 2.027027027027027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '852944', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1001, 'n_words': 230}