<commit_before>language: php

env:
    matrix:
        - NETTE=nette-2.3-dev COMPOSER_EXTRA_ARGS=""
        - NETTE=nette-2.3 COMPOSER_EXTRA_ARGS=""
        - NETTE=nette-2.3 COMPOSER_EXTRA_ARGS="--prefer-lowest"

php:
    - 5.5
    - 5.6
    - 7.0
    - hhvm
    - hhvm-nightly

matrix:
    allow_failures:
        - php: 7.0
        - php: hhvm
        - php: hhvm-nightly

before_install:
	- composer self-update

install:
    - mkdir -p vendor/bin
    - wget -O vendor/bin/composer-nette https://raw.githubusercontent.com/Kdyby/TesterExtras/master/bin/composer-nette.php
    - php vendor/bin/composer-nette
    - composer update --no-interaction --prefer-source $COMPOSER_EXTRA_ARGS

before_script:
    - ./vendor/bin/parallel-lint -e php,phpt --exclude vendor .
    - composer create-project nette/code-checker code-checker ~2.3 --no-interaction --prefer-source
    - php code-checker/src/code-checker.php -d src
    - php code-checker/src/code-checker.php -d vendor
    - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then FLAGS="-d extension=xdebug.so --coverage coverage.xml --coverage-src src"; fi;
<commit_msg>Fix Travis<commit_after>language: php

env:
    matrix:
        - NETTE=nette-2.3-dev COMPOSER_EXTRA_ARGS=""
        - NETTE=nette-2.3 COMPOSER_EXTRA_ARGS=""
        - NETTE=nette-2.3 COMPOSER_EXTRA_ARGS="--prefer-lowest"

php:
    - 5.5
    - 5.6
    - 7.0
    - hhvm
    - hhvm-nightly

matrix:
    allow_failures:
        - php: 7.0
        - php: hhvm
        - php: hhvm-nightly

before_install:
    - composer self-update

install:
    - mkdir -p vendor/bin
    - wget -O vendor/bin/composer-nette https://raw.githubusercontent.com/Kdyby/TesterExtras/master/bin/composer-nette.php
    - php vendor/bin/composer-nette
    - composer update --no-interaction --prefer-source $COMPOSER_EXTRA_ARGS

before_script:
    - ./vendor/bin/parallel-lint -e php,phpt --exclude vendor .
    - composer create-project nette/code-checker code-checker ~2.3 --no-interaction --prefer-source
    - php code-checker/src/code-checker.php -d src
    - php code-checker/src/code-checker.php -d vendor
    - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then FLAGS="-d extension=xdebug.so --coverage coverage.xml --coverage-src src"; fi;

{'fraction_non_alphanumeric': 0.13734290843806105, 'fraction_numerical': 0.01615798922800718, 'mean_word_length': 2.423963133640553, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3978139', 'n_tokens_mistral': 879, 'n_tokens_neox': 849, 'n_words': 149}