<commit_before>language: php

php:
  - 7
  - nightly

sudo: false

matrix:
  fast_finish: true
  allow_failures:
    - php: "nightly"

cache:
  directories:
    - ./vendor

before_install:
  - mkdir build
  - git clone https://github.com/nikic/php-ast.git build/ast
  - cd ./build/ast/
  - phpize
  - ./configure
  - make
  - make install
  - echo "extension=ast.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - cd ./../../
  - travis_retry composer self-update

install:
  - composer --prefer-source install

script:
  - phpunit --colors -c phpunit.xml
  - php package.php

before_deploy:
  - php package.php

deploy:
  provider: releases
  api_key: $API_KEY
  file: build/phan.phar
  skip_cleanup: true<commit_msg>Use the locally installed PHPUnit instead of the global copy<commit_after>language: php

php:
  - 7
  - nightly

sudo: false

matrix:
  fast_finish: true
  allow_failures:
    - php: "nightly"

cache:
  directories:
    - ./vendor

before_install:
  - mkdir build
  - git clone https://github.com/nikic/php-ast.git build/ast
  - cd ./build/ast/
  - phpize
  - ./configure
  - make
  - make install
  - echo "extension=ast.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - cd ./../../
  - travis_retry composer self-update

install:
  - composer --prefer-source install

script:
  - ./vendor/bin/phpunit --colors -c phpunit.xml
  - php package.php

before_deploy:
  - php package.php

deploy:
  provider: releases
  api_key: $API_KEY
  file: build/phan.phar
  skip_cleanup: true
{'fraction_non_alphanumeric': 0.12992125984251968, 'fraction_numerical': 0.0013123359580052493, 'mean_word_length': 2.57981220657277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '7073847', 'n_tokens_mistral': 575, 'n_tokens_neox': 555, 'n_words': 130}