<commit_before>language: php

php:
  - 5.6
  - 7.0

env:
  APP_ENV: testing
  CACHE_DRIVER: array
  SESSION_DRIVER: array
  QUEUE_DRIVER: sync
  DB_CONNECTION: sqlite
  APP_KEY: 16efa6c23c2e8c705826b0e66778fbe7
  JWT_SECRET: <KEY>
  ADMIN_EMAIL: <EMAIL>
  ADMIN_NAME: Koel
  ADMIN_PASSWORD: <PASSWORD>
  LASTFM_API_KEY: foo
  LASTFM_API_SECRET: bar
  BROADCAST_DRIVER: log

branches:
  - master

install:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  - npm install
  - composer self-update
  - composer install --prefer-source --no-interaction

script:
  - phpunit
  - npm test<commit_msg>Install yarn on Travis<commit_after>language: php

php:
  - 5.6
  - 7.0

env:
  APP_ENV: testing
  CACHE_DRIVER: array
  SESSION_DRIVER: array
  QUEUE_DRIVER: sync
  DB_CONNECTION: sqlite
  APP_KEY: 16efa6c23c2e8c705826b0e66778fbe7
  JWT_SECRET: <KEY>
  ADMIN_EMAIL: <EMAIL>
  ADMIN_NAME: Koel
  ADMIN_PASSWORD: <PASSWORD>
  LASTFM_API_KEY: foo
  LASTFM_API_SECRET: bar
  BROADCAST_DRIVER: log

branches:
  - master

before_script:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  - npm install -g yarn

install:
  - composer self-update
  - composer install --prefer-source --no-interaction

script:
  - phpunit
  - yarn test
{'fraction_non_alphanumeric': 0.0875796178343949, 'fraction_numerical': 0.03821656050955414, 'mean_word_length': 3.2610169491525425, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '852502', 'n_tokens_mistral': 586, 'n_tokens_neox': 530, 'n_words': 113}