<commit_before>#!/bin/bash

echo "PHP version: $TRAVIS_PHP_VERSION"

if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]] ; then 
wget "https://phar.phpunit.de/phpunit-5.7.phar"
mv phpunit-5.7.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "7.0" ]] ; then 
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "7.1" ]] ; then 
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "hhvm" ]] ; then 
hhvm -d hhvm.php7.all=1
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

chmod +x ./phpunit

echo "./phpunit --version"
./phpunit --version

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "cd $DIR"
cd "$DIR"

VERSION="devel"
NAME="ArangoDB-$VERSION"

if [ ! -d "$DIR/$NAME" ]; then
  # download ArangoDB
  echo "wget --no-check-certificate http://www.arangodb.com/repositories/nightly/travisCI/$NAME.tar.gz"
  wget --no-check-certificate http://www.arangodb.com/repositories/nightly/travisCI/$NAME.tar.gz
  echo "tar zxf $NAME.tar.gz"
  tar zxf $NAME.tar.gz
fi
<commit_msg>once again...<commit_after>#!/bin/bash

echo "PHP version: $TRAVIS_PHP_VERSION"

if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]] ; then 
wget "https://phar.phpunit.de/phpunit-5.7.phar"
mv phpunit-5.7.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "7.0" ]] ; then 
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "7.1" ]] ; then 
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "hhvm" ]] ; then 
hhvm -d hhvm.php7.all=1
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

if [[ "$TRAVIS_PHP_VERSION" == "hhvm-3.18" ]] ; then 
hhvm -d hhvm.php7.all=1
wget "https://phar.phpunit.de/phpunit-6.0.phar"
mv phpunit-6.0.phar ./phpunit
fi

chmod +x ./phpunit

echo "./phpunit --version"
./phpunit --version

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "cd $DIR"
cd "$DIR"

VERSION="devel"
NAME="ArangoDB-$VERSION"

if [ ! -d "$DIR/$NAME" ]; then
  # download ArangoDB
  echo "wget --no-check-certificate http://www.arangodb.com/repositories/nightly/travisCI/$NAME.tar.gz"
  wget --no-check-certificate http://www.arangodb.com/repositories/nightly/travisCI/$NAME.tar.gz
  echo "tar zxf $NAME.tar.gz"
  tar zxf $NAME.tar.gz
fi

{'fraction_non_alphanumeric': 0.20571192052980133, 'fraction_numerical': 0.024420529801324503, 'mean_word_length': 3.5950570342205324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '794000', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1080, 'n_words': 192}