<commit_before>dist: trusty
sudo: false
language: php
php:
- 7.0
- 5.6
- 7.1
- hhvm
- nightly
env:
  - GUZZLE=5
  - GUZZLE=6
matrix:
  allow_failures:
  - php: hhvm
  - php: nightly
services:
- redis-server
cache:
  directories:
  - vendor
before_install:
- PHP=$TRAVIS_PHP_VERSION
- if [ $PHP != 'hhvm' ] ; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; fi
- if [ $PHP != 'hhvm' ] ; then echo "extension = apcu.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; fi
before_script:
- composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- if [ $GUZZLE == '5' ] ; then ./set_guzzle5.sh; fi
- if [ $PHP != 'nightly' ] && [ $PHP != '7.1' ]; then composer global require hirak/prestissimo; fi
- if [ $GUZZLE == '5' ] ; then composer update -o --prefer-dist --prefer-lowest; fi
- if [ $GUZZLE != '5' ] ; then composer install -o --prefer-dist; fi
script:
- ant phpcs-ci
- vendor/bin/phpunit --testsuite=unit
- if [ $PHP == '7.0' ] && [ $GUZZLE == '6' ] ; then phpunit --testsuite=integration; fi
- ant behat<commit_msg>WIP: fix travis run<commit_after>dist: trusty
sudo: false
language: php
php:
- 7.0
- 5.6
- 7.1
- hhvm
- nightly
env:
  - GUZZLE=5
  - GUZZLE=6
matrix:
  allow_failures:
  - php: hhvm
  - php: nightly
services:
- redis-server
cache:
  directories:
  - vendor
before_install:
- PHP=$TRAVIS_PHP_VERSION
- if [ $PHP != 'hhvm' ] ; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; fi
- if [ $PHP != 'hhvm' ] ; then printf "yes\n" | pecl install -f apcu ; fi
- if [ $PHP != 'hhvm' ] ; then echo "extension = apcu.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; fi
before_script:
- composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- if [ $GUZZLE == '5' ] ; then ./set_guzzle5.sh; fi
- if [ $PHP != 'nightly' ] && [ $PHP != '7.1' ]; then composer global require hirak/prestissimo; fi
- if [ $GUZZLE == '5' ] ; then composer update -o --prefer-dist --prefer-lowest; fi
- if [ $GUZZLE != '5' ] ; then composer install -o --prefer-dist; fi
script:
- ant phpcs-ci
- vendor/bin/phpunit --testsuite=unit
- if [ $PHP == '7.0' ] && [ $GUZZLE == '6' ] ; then phpunit --testsuite=integration; fi
- ant behat
{'fraction_non_alphanumeric': 0.18303571428571427, 'fraction_numerical': 0.015178571428571428, 'mean_word_length': 3.1731843575418996, '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': '1615568', 'n_tokens_mistral': 931, 'n_tokens_neox': 906, 'n_words': 225}