<commit_before># shell-runner configuration

# prepare gitlab-ci
before_script:
- type git >/dev/null 2>&1 || { apt-get -y -q update; apt-get -y -q upgrade; apt-get -y -q install git unzip libicu-dev; docker-php-ext-install intl; }
- php -v
- curl -sS https://getcomposer.org/installer | php
- php composer.phar --version
- php -d memory_limit=-1 composer.phar install

# define types/stages
types:
- test
stages:
- test

test-php56_job:
  stage: test
  type: test
  image: php:5.6
  tags: 
  - php56
  - docker
  script:
  - php -d memory_limit=-1 ./vendor/bin/phpunit --colors --debug --configuration ./tests/phpunit.xml --coverage-text
  allow_failure: false

test-php70_job:
  stage: test
  type: test
  image: php:7.0
  tags: 
  - php70
  - docker
  script:
  - php -d memory_limit=-1 ./vendor/bin/phpunit --colors --debug --configuration ./tests/phpunit.xml --coverage-text
  allow_failure: false

<commit_msg>update CI config<commit_after># shell-runner configuration

# prepare gitlab-ci
before_script:
- type git >/dev/null 2>&1 || { apt-get -y -q update; apt-get -y -q upgrade; apt-get -y -q install git unzip libicu-dev; docker-php-ext-install intl; }
- php -v
- curl -sS https://getcomposer.org/installer | php
- php composer.phar --version
- php -d memory_limit=-1 composer.phar install

# define types/stages
types:
- test
stages:
- test

test-php56_job:
  stage: test
  type: test
  image: php:5.6
  tags: 
  - php56
  script:
  - php -d memory_limit=-1 ./vendor/bin/phpunit --colors --debug --configuration ./tests/phpunit.xml --coverage-text
  allow_failure: false

test-php70_job:
  stage: test
  type: test
  image: php:7.0
  tags: 
  - php70
  script:
  - php -d memory_limit=-1 ./vendor/bin/phpunit --colors --debug --configuration ./tests/phpunit.xml --coverage-text
  allow_failure: false


{'fraction_non_alphanumeric': 0.13789299503585217, 'fraction_numerical': 0.018753447324875896, 'mean_word_length': 2.8678038379530917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '175085', 'n_tokens_mistral': 698, 'n_tokens_neox': 657, 'n_words': 182}