<commit_before>#
# .travis.yml - configuration file for the travis continuous integration service
#
# see http://docs.travis-ci.com/user/languages/php/ for more hints
#
language: php

# use container based infrastructure (no sudo possible)
sudo: false

addons:
  apt:
    packages:
      - parallel

php: [5.5, 5.6, 7, 7.1, hhvm]

matrix:
    allow_failures:
        - php: hhvm
    fast_finish: true

script:
  # PHP lint
  - >
    echo;
    echo "Running PHP lint";
    find . -name \*.php ! -path "./vendor/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
  # start PHP5.4 built-in server in background
  - nohup php -S localhost:8080 -t test/site > php-server.log 2>&1 &
  - php test/all_tests.php
  - cat php-server.log

# disable notifications
notifications:
  email: false

# reduce commit history of git checkout
git:
  depth: 5<commit_msg>exclude file with "allowed parse errors" from liniting ./test/test_with_parse_error.php<commit_after>#
# .travis.yml - configuration file for the travis continuous integration service
#
# see http://docs.travis-ci.com/user/languages/php/ for more hints
#
language: php

# use container based infrastructure (no sudo possible)
sudo: false

addons:
  apt:
    packages:
      - parallel

php: [5.5, 5.6, 7, 7.1, hhvm]

matrix:
    allow_failures:
        - php: hhvm
    fast_finish: true

script:
  # PHP lint
  - >
    echo;
    echo "Running PHP lint";
    find . -name \*.php ! -path "./vendor/*" ! -name "./test/test_with_parse_error.php" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
  # start PHP5.4 built-in server in background
  - nohup php -S localhost:8080 -t test/site > php-server.log 2>&1 &
  - php test/all_tests.php
  - cat php-server.log

# disable notifications
notifications:
  email: false

# reduce commit history of git checkout
git:
  depth: 5
{'fraction_non_alphanumeric': 0.12075471698113208, 'fraction_numerical': 0.01725067385444744, 'mean_word_length': 2.890985324947589, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '556927', 'n_tokens_mistral': 677, 'n_tokens_neox': 634, 'n_words': 197}