<commit_before>language: php

services:
  - sqlite

php:
  - 7.0

addons:
    code_climate:
        repo_token: bb9681de04daca830a87c3eb0f6500b0a815f8262107fec833e0852df2401466

sudo: false

# cache vendor dirs
cache:
  directories:
    - vendor
    - $HOME/.composer/cache

install:
  - COMPOSER_DISCARD_CHANGES=1 composer install --prefer-source --no-interaction

before_script:
  - cp src/database/migrations/create_friendships_table.php vendor/laravel/laravel/database/migrations/2015_11_19_053825_create_friendships_table.php
  - yes | cp src/database/migrations/create_friendships_groups_table.php vendor/laravel/laravel/database/migrations/2015_11_19_053826_create_friendships_groups_table.php
  - yes | cp tests/config/friendships.php vendor/laravel/laravel/config/friendships.php
  - yes | cp tests/Stub_User.php vendor/laravel/laravel/app/User.php
  - yes | cp src/config/.env.testing vendor/laravel/laravel/.env
  - cd vendor/laravel/laravel
  - composer update --prefer-source --no-interaction
  - touch database/database.sqlite
  - php artisan migrate --force
  - cd -

script:
  - vendor/bin/phpunit

after_script:
  - vendor/bin/test-reporter
<commit_msg>Trying php 7.1 with no services<commit_after>language: php

php:
  - 7.1

addons:
    code_climate:
        repo_token: bb9681de04daca830a87c3eb0f6500b0a815f8262107fec833e0852df2401466

sudo: false

# cache vendor dirs
cache:
  directories:
    - vendor
    - $HOME/.composer/cache

install:
  - COMPOSER_DISCARD_CHANGES=1 composer install --prefer-source --no-interaction

before_script:
  - cp src/database/migrations/create_friendships_table.php vendor/laravel/laravel/database/migrations/2015_11_19_053825_create_friendships_table.php
  - yes | cp src/database/migrations/create_friendships_groups_table.php vendor/laravel/laravel/database/migrations/2015_11_19_053826_create_friendships_groups_table.php
  - yes | cp tests/config/friendships.php vendor/laravel/laravel/config/friendships.php
  - yes | cp tests/Stub_User.php vendor/laravel/laravel/app/User.php
  - yes | cp src/config/.env.testing vendor/laravel/laravel/.env
  - cd vendor/laravel/laravel
  - composer update --prefer-source --no-interaction
  - touch database/database.sqlite
  - php artisan migrate --force
  - cd -

script:
  - vendor/bin/phpunit

after_script:
  - vendor/bin/test-reporter

{'fraction_non_alphanumeric': 0.09460616438356165, 'fraction_numerical': 0.06335616438356165, 'mean_word_length': 3.9935897435897436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5845093', 'n_tokens_mistral': 926, 'n_tokens_neox': 846, 'n_words': 127}