<commit_before>language: php

php:
- 5.6
- 7.0
- 7.1
- hhvm

sudo: false

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

matrix:
  include:
  - php: 5.6
    env:
    - EXECUTE_DEPLOYMENT=true
    - COMPOSER_FLAGS="--prefer-stable --prefer-lowest"

before_install:
- openssl aes-256-cbc -K $encrypted_3fa200ce5c41_key -iv $encrypted_3fa200ce5c41_iv
  -in .travis/secrets.tar.enc -out .travis/secrets.tar -d

before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
- vendor/bin/phpcs --standard=psr2 src/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- |
  if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
    wget https://scrutinizer-ci.com/ocular.phar
    php ocular.phar code-coverage:upload --format=php-clover coverage.clover
  fi

after_success:
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi

notifications:
  email: false
  irc: "irc.freenode.org#polderknowledge"
<commit_msg>Removed composer update and replaced it with an install<commit_after>language: php

php:
- 5.6
- 7.0
- 7.1
- hhvm

sudo: false

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

matrix:
  include:
  - php: 5.6
    env:
    - EXECUTE_DEPLOYMENT=true

before_install:
- openssl aes-256-cbc -K $encrypted_3fa200ce5c41_key -iv $encrypted_3fa200ce5c41_iv
  -in .travis/secrets.tar.enc -out .travis/secrets.tar -d

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
- composer info -i

script:
- vendor/bin/phpcs --standard=psr2 src/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- |
  if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
    wget https://scrutinizer-ci.com/ocular.phar
    php ocular.phar code-coverage:upload --format=php-clover coverage.clover
  fi

after_success:
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi

notifications:
  email: false
  irc: "irc.freenode.org#polderknowledge"

{'fraction_non_alphanumeric': 0.15211378901619912, 'fraction_numerical': 0.022125642038719872, 'mean_word_length': 3.7954545454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '701650', 'n_tokens_mistral': 1056, 'n_tokens_neox': 1009, 'n_words': 192}