<commit_before>language: php

php:
  - 5.5
  - 5.6

cache:
    directories:
        - ~/.composer/cache

git:
  submodules: false

before_script:
# webserver
 - sudo apt-get update > /dev/null
 - sudo apt-get install -y --force-yes apache2 libapache2-mod-php5 php5-curl php5-mysql php5-intl
 - sudo sed -i -e "s,/var/www,$(pwd)/web,g" /etc/apache2/sites-available/default
 - sudo /etc/init.d/apache2 restart

# Symfony
 - cp app/config/parameters.yml.travis app/config/parameters.yml
# - cp .travis-composer-config.json ~/.composer/config.json
 - composer install --no-progress --prefer-dist
 - php app/console doctrine:database:create --env=test
 - php app/console doctrine:schema:create --env=test
 - php app/console doctrine:fixtures:load -n --env=test
 - chmod -R 777 /tmp/cache /tmp/logs
<commit_msg>try fix travis<commit_after>language: php

php:
  - 5.5
  - 5.6

cache:
    directories:
        - ~/.composer/cache

git:
  submodules: false

before_script:
# Prepare Webserver
 - sudo apt-get update > /dev/null
 - sudo apt-get install -y --force-yes apache2 libapache2-mod-php5 php5-curl php5-mysql php5-intl
 - sudo sed -i -e "s,/var/www,$(pwd)/web,g" /etc/apache2/sites-available/default
 - sudo /etc/init.d/apache2 restart

# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
# - cp .travis-composer-config.json ~/.composer/config.json

# Database
- mysql -e 'create database baka;'

# Symfony specific
 - cp app/config/parameters.yml.travis app/config/parameters.yml
 - composer install --no-progress --prefer-dist
 - php app/console doctrine:database:create --env=test
 - php app/console doctrine:schema:create --env=test
 - php app/console doctrine:fixtures:load -n --env=test
 - chmod -R 777 /tmp/cache /tmp/logs

{'fraction_non_alphanumeric': 0.13550600343053174, 'fraction_numerical': 0.019439679817038306, 'mean_word_length': 3.0792540792540795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3889659', 'n_tokens_mistral': 659, 'n_tokens_neox': 616, 'n_words': 155}