<commit_before>#!/bin/bash

cd $(dirname "$0")

# Install Coveralls on 5.5 and disable XDebug on everything else
if [ "$TRAVIS_PHP_VERSION" = "5.5" ]
then
	# We run this script detached in the background. It'll finish while tests are running
	sh -c "./installComposer.sh 2>&1 &" >/dev/null 2>&1 &
else
	phpenv config-rm xdebug.ini
fi

# Install optional dependencies
./installClosureCompiler.sh >/dev/null 2>&1 &
./installXSLCache.sh        >/dev/null 2>&1 &

# The cache dir lets the MediaEmbed plugin cache scraped content
mkdir ../../tests/.cache

# Patch the sources for current PHP version<commit_msg>Updated Travis setup [ci skip]<commit_after>#!/bin/bash

cd $(dirname "$0")

# Install Coveralls on 5.5 and disable XDebug on everything else
if [ "$TRAVIS_PHP_VERSION" = "5.5" ]
then
	./installXSLCache.sh >/dev/null 2>&1 &

	# We run this script detached in the background. It'll finish while tests are running
	sh -c "./installComposer.sh 2>&1 &" >/dev/null 2>&1 &
else
	phpenv config-rm xdebug.ini
fi

# Install Closure Compiler
./installClosureCompiler.sh >/dev/null 2>&1 &

# The cache dir lets the MediaEmbed plugin cache scraped content
mkdir ../../tests/.cache

# Patch the sources for current PHP version
{'fraction_non_alphanumeric': 0.1214109926168991, 'fraction_numerical': 0.02132895816242822, 'mean_word_length': 3.765625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '1323746', 'n_tokens_mistral': 421, 'n_tokens_neox': 388, 'n_words': 145}