<commit_before>language: php

php:
  - 7.0
  - 5.6
  - 5.5
  - 5.4

# environment variable used in test suite
env: TEST_ENVIRONMENT=travis

# faster builds on new travis setup not using sudo
sudo: false

# cache vendor dirs
cache:
  directories:
    - vendor
    - $HOME/.composer/cache

# install dependencies
install:
  - travis_retry composer self-update
  - travis_retry composer global require "codeception/codeception:2.2.x@dev"
  - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.0"
  - travis_retry composer install --prefer-dist

before_script:
  - mysql -e 'create database dektrium_test;'
  - php tests/_app/yii.php migrate --migrationPath=@dektrium/user/migrations --interactive=0
  - ~/.composer/vendor/bin/codecept build

script: ~/.composer/vendor/bin/codecept run<commit_msg>Fixed codeception version in travis.yml<commit_after>language: php

php:
  - 7.0
  - 5.6
  - 5.5
  - 5.4

# environment variable used in test suite
env: TEST_ENVIRONMENT=travis

# faster builds on new travis setup not using sudo
sudo: false

# cache vendor dirs
cache:
  directories:
    - vendor
    - $HOME/.composer/cache

# install dependencies
install:
  - travis_retry composer self-update
  - travis_retry composer global require "codeception/codeception:2.2.5"
  - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.0"
  - travis_retry composer install --prefer-dist

before_script:
  - mysql -e 'create database dektrium_test;'
  - php tests/_app/yii.php migrate --migrationPath=@dektrium/user/migrations --interactive=0
  - ~/.composer/vendor/bin/codecept build

script: ~/.composer/vendor/bin/codecept run
{'fraction_non_alphanumeric': 0.10449574726609964, 'fraction_numerical': 0.01761846901579587, 'mean_word_length': 3.600558659217877, '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': '6217254', 'n_tokens_mistral': 580, 'n_tokens_neox': 572, 'n_words': 141}