<commit_before>sudo: false

language: php
php:
  - 5.5

before_script:
  - composer install --dev --no-interaction

script:
  - mkdir -p build/logs
  - npm install canned
  - nohup node ./node_modules/canned/bin/canned -p 5000 tests/canned >/dev/null 2>&1 &
  - vendor/bin/phpunit

after_script:
  - php vendor/bin/coveralls -v<commit_msg>Adding travis tests for php 5.6 and 7.0<commit_after>sudo: false

language: php
php:
  - 5.5
  - 5.6
  - 7.0

before_script:
  - composer install --dev --no-interaction

script:
  - mkdir -p build/logs
  - npm install canned
  - nohup node ./node_modules/canned/bin/canned -p 5000 tests/canned >/dev/null 2>&1 &
  - vendor/bin/phpunit

after_script:
  - php vendor/bin/coveralls -v
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.03333333333333333, 'mean_word_length': 2.7552083333333335, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4761636', 'n_tokens_mistral': 303, 'n_tokens_neox': 274, 'n_words': 70}