<commit_before># See https://github.com/silverstripe/silverstripe-travis-support for setup details

language: php

sudo: false

php:
  - 5.4
  - 5.5

env:
  - DB=MYSQL CORE_RELEASE=3.5

matrix:
  include:
    - php: 5.3
      env: DB=PGSQL CORE_RELEASE=3.1
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.2
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.3 SUBSITES=1
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.3 QUEUEDJOBS=1
    - php: 7.1
      env: DB=MYSQL CORE_RELEASE=3.6

before_script:
  - composer self-update || true
  - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
  - "if [ \"$SUBSITES\" = \"\" -a \"$QUEUEDJOBS\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"
  - "if [ \"$SUBSITES\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/subsites; fi"
  - "if [ \"$QUEUEDJOBS\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/queuedjobs; fi"
  - cd ~/builds/ss

script:
  - vendor/bin/phpunit fulltextsearch/tests/<commit_msg>Remove PHP 5.3 from Travis build matrix and remove extra jobs to simplify<commit_after># See https://github.com/silverstripe/silverstripe-travis-support for setup details

language: php

sudo: false

matrix:
  include:
    - php: 5.4
      env: DB=PGSQL CORE_RELEASE=3.1
    - php: 5.5
      env: DB=MYSQL CORE_RELEASE=3.2
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.3 SUBSITES=1
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.3 QUEUEDJOBS=1
    - php: 7.1
      env: DB=MYSQL CORE_RELEASE=3.6
    - php: 7.1
      env: DB=MYSQL CORE_RELEASE=3

before_script:
  - composer self-update || true
  - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
  - "if [ \"$SUBSITES\" = \"\" -a \"$QUEUEDJOBS\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"
  - "if [ \"$SUBSITES\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/subsites; fi"
  - "if [ \"$QUEUEDJOBS\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/queuedjobs; fi"
  - cd ~/builds/ss

script:
  - vendor/bin/phpunit fulltextsearch/tests/
{'fraction_non_alphanumeric': 0.16750629722921914, 'fraction_numerical': 0.02476910159529807, 'mean_word_length': 2.825040128410915, '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': '4248517', 'n_tokens_mistral': 1015, 'n_tokens_neox': 983, 'n_words': 202}