<commit_before># vim: set tabstop=2 shiftwidth=2 expandtab:
language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm
  - nightly

env:
  - EVENT_STORE_VERSION='v3.0.3'
  - EVENT_STORE_VERSION='v3.0.4'
  - EVENT_STORE_VERSION='v3.0.5'

sudo: false

matrix:
  allow_failures:
    - php: hhvm
    - php: nightly

cache:
  directories:
    - $HOME/downloads
    - $HOME/composer/.cache
    - $HOME/build/dbellettini/php-eventstore-client/bin
    - $HOME/build/dbellettini/php-eventstore-client/vendor

before_install:
  - travis/download-eventstore.sh ${EVENT_STORE_VERSION}
  - tar xf $HOME/downloads/EventStore-OSS-Linux-${EVENT_STORE_VERSION}.tar.gz
  - cd EventStore* && ./clusternode --mem-db 2>&1> ~/eventstore.log &
install:
  - composer install --prefer-dist --no-interaction

before_script:
  - while [ `grep SPARTA ~/eventstore.log | wc -l` -eq 0 ]; do sleep 1; done

script:
  - bin/phpunit --coverage-clover=coverage.clover --coverage-text --testdox

after_success:
  - travis/download-ocular.sh
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

after_scripts:
  - killall -SIGINT clusternode
  - cat ~/eventstore.log
<commit_msg>Move up download of ocular.phar<commit_after># vim: set tabstop=2 shiftwidth=2 expandtab:
language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm
  - nightly

env:
  - EVENT_STORE_VERSION='v3.0.3'
  - EVENT_STORE_VERSION='v3.0.4'
  - EVENT_STORE_VERSION='v3.0.5'

sudo: false

matrix:
  allow_failures:
    - php: hhvm
    - php: nightly

cache:
  directories:
    - $HOME/downloads
    - $HOME/composer/.cache
    - $HOME/build/dbellettini/php-eventstore-client/bin
    - $HOME/build/dbellettini/php-eventstore-client/vendor

before_install:
  - travis/download-eventstore.sh ${EVENT_STORE_VERSION}
  - travis/download-ocular.sh
  - tar xf $HOME/downloads/EventStore-OSS-Linux-${EVENT_STORE_VERSION}.tar.gz
  - cd EventStore* && ./clusternode --mem-db 2>&1> ~/eventstore.log &
install:
  - composer install --prefer-dist --no-interaction

before_script:
  - while [ `grep SPARTA ~/eventstore.log | wc -l` -eq 0 ]; do sleep 1; done

script:
  - bin/phpunit --coverage-clover=coverage.clover --coverage-text --testdox

after_success:
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

after_scripts:
  - killall -SIGINT clusternode
  - cat ~/eventstore.log

{'fraction_non_alphanumeric': 0.13877028181041845, 'fraction_numerical': 0.017933390264730998, 'mean_word_length': 3.125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3978420', 'n_tokens_mistral': 957, 'n_tokens_neox': 923, 'n_words': 164}