<commit_before>git:
  depth: 3

language: php
sudo: false

php:
  - 7.1
  - 7.0
  - 5.6
  - 5.5
  - 5.4
  - 5.3

env:
  - DB=sqlite
  - DB=mysql
  - DB=postgres

matrix:
  fast_finish: true

before_script:
  - if [[ $TRAVIS_PHP_VERSION != 7.x ]]; then phpenv config-rm xdebug.ini; fi
  - phpenv config-add tests/php.ini
  - composer install
  - npm install

script:
  - ./node_modules/.bin/jshint assets/js/{core,components}
  - phpunit -c tests/units.$DB.xml
  - phpunit tests/configtest
<commit_msg>Use PHPunit from vendor folder<commit_after>git:
  depth: 3

language: php
sudo: false

php:
  - 7.1
  - 7.0
  - 5.6
  - 5.5
  - 5.4
  - 5.3

env:
  - DB=sqlite
  - DB=mysql
  - DB=postgres

matrix:
  fast_finish: true

before_script:
  - if [[ $TRAVIS_PHP_VERSION != 7.x ]]; then phpenv config-rm xdebug.ini; fi
  - phpenv config-add tests/php.ini
  - composer install
  - npm install

script:
  - ./node_modules/.bin/jshint assets/js/{core,components}
  - ./vendor/bin/phpunit -c tests/units.$DB.xml
  - ./vendor/bin/phpunit tests/configtest

{'fraction_non_alphanumeric': 0.1397129186602871, 'fraction_numerical': 0.026794258373205742, 'mean_word_length': 2.4295081967213115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6735043', 'n_tokens_mistral': 460, 'n_tokens_neox': 435, 'n_words': 94}