<commit_before>language: php

sudo: false

install:
  - cp app/config/parameters.yml.travis app/config/parameters.yml
  - wget https://getcomposer.org/composer.phar
  - php -dmemory_limit=2G composer.phar update
  - npm install
  - php app/console doctrine:database:create --env=test
  - php app/console doctrine:schema:create --env=test

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm

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

script: phpunit -c app/<commit_msg>fix composer on travis<commit_after>language: php

sudo: false

install:
  - php -i | grep memory_limit
  - cp app/config/parameters.yml.travis app/config/parameters.yml
  - wget https://getcomposer.org/composer.phar
  - php -dmemory_limit=2G composer.phar update --no-interaction --prefer-source
  - npm install
  - php app/console doctrine:database:create --env=test
  - php app/console doctrine:schema:create --env=test

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm

script: phpunit -c app/
{'fraction_non_alphanumeric': 0.13223938223938225, 'fraction_numerical': 0.023166023166023165, 'mean_word_length': 2.9429657794676807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4060713', 'n_tokens_mistral': 423, 'n_tokens_neox': 392, 'n_words': 83}