<commit_before>language: php

git:
    depth: 1

cache:
    directories:
        - $HOME/.composer/cache

env:
    - DEPENDENCIES=''
    - DEPENDENCIES='low'
    - DEPENDENCIES='beta'

php:
    - 5.5
    - 5.6
    - 7.0
    - 7.1
    - 7.2

before_install:
    - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install:
    - composer global require friendsofphp/php-cs-fixer
    - if [[ $DEPENDENCIES = 'beta' ]]; then composer config minimum-stability beta; fi
    - if [[ ! $DEPENDENCIES || $DEPENDENCIES = 'beta' ]]; then composer update --prefer-dist --no-progress --no-suggest --ansi; fi
    - if [[ $DEPENDENCIES = 'low' ]]; then composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi; fi

script:
    - $HOME/.composer/vendor/bin/php-cs-fixer fix --dry-run --diff
    - vendor/bin/phpunit
    - vendor/bin/behat
    - vendor/bin/behat -p jmsserializer

after_success:
    - travis_retry php vendor/bin/php-coveralls -v -o coveralls-upload.json -x clover.xml<commit_msg>Remove coveralls from travis<commit_after>language: php

git:
    depth: 1

cache:
    directories:
        - $HOME/.composer/cache

env:
    - DEPENDENCIES=''
    - DEPENDENCIES='low'
    - DEPENDENCIES='beta'

php:
    - 5.5
    - 5.6
    - 7.0
    - 7.1
    - 7.2

before_install:
    - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install:
    - composer global require friendsofphp/php-cs-fixer
    - if [[ $DEPENDENCIES = 'beta' ]]; then composer config minimum-stability beta; fi
    - if [[ ! $DEPENDENCIES || $DEPENDENCIES = 'beta' ]]; then composer update --prefer-dist --no-progress --no-suggest --ansi; fi
    - if [[ $DEPENDENCIES = 'low' ]]; then composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi; fi

script:
    - $HOME/.composer/vendor/bin/php-cs-fixer fix --dry-run --diff
    - vendor/bin/phpunit
    - vendor/bin/behat
    - vendor/bin/behat -p jmsserializer
{'fraction_non_alphanumeric': 0.15805022156573117, 'fraction_numerical': 0.011816838995568686, 'mean_word_length': 2.4499151103565366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '5542618', 'n_tokens_mistral': 783, 'n_tokens_neox': 772, 'n_words': 155}