<commit_before>language: php

env:
    - COMPOSER_OPTIONS="install --prefer-source"

php:
    - 5.4
    - 5.5
    - 5.6
    - hhvm
    - 7.0

matrix:
    fast_finish: true
    allow_failures:
        - php: 7.0
        - php: hhvm

before_install:
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
    - "wget http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar"
    - "java -jar selenium-server-standalone-2.39.0.jar > /tmp/selenium.log 2> /tmp/selenium.error &"
    # - sh -c "echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini"
    - /home/travis/.phpenv/versions/$(phpenv version-name)/bin/composer self-update
    - sh -c "sudo mkdir vendor"
    - sh -c "sudo mount -t tmpfs -o size=512M tmpfs vendor"

install:
    - composer ${COMPOSER_OPTIONS} --no-interaction

before_script:
    - sh -c "sudo mkdir /tmp/Bamboo"
    - sh -c "sudo mount -t tmpfs -o size=512M tmpfs /tmp/Bamboo/"

script:
    - bin/behat -fprogress --tags="~javascript"
    - bin/phpunit
    - php app/console visithor:go --format=pretty --env=test

notifications:
    email: false

<commit_msg>Fixed travis installation process<commit_after>language: php

env:
    - COMPOSER_OPTIONS="update --prefer-source"

php:
    - 5.4
    - 5.5
    - 5.6
    - hhvm
    - 7.0

matrix:
    fast_finish: true
    allow_failures:
        - php: 7.0
        - php: hhvm

before_install:
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
    - "wget http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar"
    - "java -jar selenium-server-standalone-2.39.0.jar > /tmp/selenium.log 2> /tmp/selenium.error &"
    # - sh -c "echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini"
    - /home/travis/.phpenv/versions/$(phpenv version-name)/bin/composer self-update
    - sh -c "sudo mkdir vendor"
    - sh -c "sudo mount -t tmpfs -o size=512M tmpfs vendor"

install:
    - composer ${COMPOSER_OPTIONS} --no-interaction

before_script:
    - sh -c "sudo mkdir /tmp/Bamboo"
    - sh -c "sudo mount -t tmpfs -o size=512M tmpfs /tmp/Bamboo/"

script:
    - bin/behat -fprogress --tags="~javascript"
    - bin/phpunit
    - php app/console visithor:go --format=pretty --env=test

notifications:
    email: false


{'fraction_non_alphanumeric': 0.1527114967462039, 'fraction_numerical': 0.024295010845986984, 'mean_word_length': 2.3420289855072465, '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': '1137875', 'n_tokens_mistral': 957, 'n_tokens_neox': 897, 'n_words': 187}