<commit_before>language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
sudo: required
dist: trusty
addons:
  hosts:
    - riak-test
env:
  - RIAK_DOWNLOAD_URL=http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.7/ubuntu/trusty/riak_2.0.7-1_amd64.deb
  - RIAK_DOWNLOAD_URL=http://s3.amazonaws.com/downloads.basho.com/riak/2.1/2.1.4/ubuntu/trusty/riak_2.1.4-1_amd64.deb
before_script:
  - phpenv config-rm xdebug.ini || echo 'xdebug.ini not installed'
  - composer self-update
  - composer install --prefer-source
  - sudo ./tools/travis-ci/riak-install -d "$RIAK_DOWNLOAD_URL"
  - sudo ./tools/devrel/riak-cluster-config "$(which riak-admin)" 8098 false false
notifications:
  slack:
    secure: ZtgcjTxhTxrzWW6MIHLRtucW/BMm42RKS3nGRtSfgER9rx7oJ0Y9gOYkh1FM0GsM7Z11Q/iDhWs/8WTccAV0PrMZ6KHaq54wGmfYyqwPM4YreUwQ87PnOW4wZbl0TJTeWutasEwZvnVJ8VEyyQcS2PHt0zlsENn0XWvobvaZ+FM=
script: "./vendor/bin/phpunit --coverage-text"
matrix:
  allow_failures:
    - php: 7.1<commit_msg>7.1 should be expected to succeed<commit_after>language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
sudo: required
dist: trusty
addons:
  hosts:
    - riak-test
env:
  - RIAK_DOWNLOAD_URL=http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.7/ubuntu/trusty/riak_2.0.7-1_amd64.deb
  - RIAK_DOWNLOAD_URL=http://s3.amazonaws.com/downloads.basho.com/riak/2.1/2.1.4/ubuntu/trusty/riak_2.1.4-1_amd64.deb
before_script:
  - phpenv config-rm xdebug.ini || echo 'xdebug.ini not installed'
  - composer self-update
  - composer install --prefer-source
  - sudo ./tools/travis-ci/riak-install -d "$RIAK_DOWNLOAD_URL"
  - sudo ./tools/devrel/riak-cluster-config "$(which riak-admin)" 8098 false false
notifications:
  slack:
    secure: ZtgcjTxhTxrzWW6MIHLRtucW/BMm42RKS3nGRtSfgER9rx7oJ0Y9gOYkh1FM0GsM7Z11Q/iDhWs/8WTccAV0PrMZ6KHaq54wGmfYyqwPM4YreUwQ87PnOW4wZbl0TJTeWutasEwZvnVJ8VEyyQcS2PHt0zlsENn0XWvobvaZ+FM=
script: "./vendor/bin/phpunit --coverage-text"
{'fraction_non_alphanumeric': 0.13410162388685176, 'fraction_numerical': 0.07019381875327396, 'mean_word_length': 4.079787234042553, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1938759', 'n_tokens_mistral': 988, 'n_tokens_neox': 919, 'n_words': 106}