<commit_before>sudo: false

language: php

cache:
    directories:
        - $HOME/.composer/cache
        - $HOME/protobuf

php:
    - 5.6
    - 7.0
    - 7.1
    - hhvm
    - nightly

matrix:
    allow_failures:
        - php: nightly

env:
    - PROTOBUF_VERSION=3.0.0

before_install:
    - bash .travis/install.sh

install:
    - composer self-update
    - composer --prefer-source install
    - export PATH=$PATH:$HOME/protobuf/$PROTOBUF_VERSION/bin/<commit_msg>Switch to regular composer install<commit_after>sudo: false

language: php

cache:
    directories:
        - $HOME/.composer/cache
        - $HOME/protobuf

php:
    - 5.6
    - 7.0
    - 7.1
    - hhvm
    - nightly

matrix:
    allow_failures:
        - php: nightly

env:
    - PROTOBUF_VERSION=3.0.0

before_install:
    - bash .travis/install.sh

install:
    - composer self-update
    - composer install -o
    - export PATH=$PATH:$HOME/protobuf/$PROTOBUF_VERSION/bin/
{'fraction_non_alphanumeric': 0.11440677966101695, 'fraction_numerical': 0.019067796610169493, 'mean_word_length': 2.0191693290734825, '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': '4384283', 'n_tokens_mistral': 356, 'n_tokens_neox': 339, 'n_words': 65}