<commit_before>#!/usr/bin/env bash
set -o errexit  # exit on first error
set -o nounset  # don't allow use of unset variables
set -o pipefail  # produce a failure return code if any pipeline command errors
shopt -s failglob  # cause globs that don't get expanded to cause errors

. ci/travis_retry.sh

echo "before_install script"
echo
echo "TRAVIS_BUILD_NUMBER: ${TRAVIS_BUILD_NUMBER}"
echo "TRAVIS_JOB_NUMBER: ${TRAVIS_JOB_NUMBER}"
echo "TRAVIS_OS_NAME: ${TRAVIS_OS_NAME}"
echo "TRAVIS_BRANCH: ${TRAVIS_BRANCH}"
echo "TRAVIS_COMMIT: ${TRAVIS_COMMIT}"
echo "TRAVIS_COMMIT_MESSAGE: ${TRAVIS_COMMIT_MESSAGE}"
echo "TRAVIS_COMMIT_RANGE: ${TRAVIS_COMMIT_RANGE}"
echo "TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST}"
echo "TRAVIS_PULL_REQUEST_BRANCH: ${TRAVIS_PULL_REQUEST_BRANCH}"
echo "TRAVIS_EVENT_TYPE: ${TRAVIS_EVENT_TYPE}"
echo "TRAVIS_PYTHON_VERSION: ${TRAVIS_PYTHON_VERSION}"
echo "PYTHON: ${PYTHON:-unset}"
echo "VIRTUAL_ENV: ${VIRTUAL_ENV}"
echo "date: $(date --iso-8601=seconds)"
echo "pwd: $(pwd)"
echo "uname: $(uname --all)"
git --version
echo "git tag: $(git describe --tags)"
git config --global user.email "<EMAIL>"  # overcommit Author
git config --global user.name "Travis CI"  # overcommit Author
git config --global hooks.copyrightholder "<NAME>"
echo "python version: $(python --version)"
shellcheck --version
ruby --version
gem update --system --no-document
gem --version
echo "disk usage:"
df --human-readable<commit_msg>Allow unset TRAVIS_PYTHON_VERSION<commit_after>#!/usr/bin/env bash
set -o errexit  # exit on first error
set -o nounset  # don't allow use of unset variables
set -o pipefail  # produce a failure return code if any pipeline command errors
shopt -s failglob  # cause globs that don't get expanded to cause errors

. ci/travis_retry.sh

echo "before_install script"
echo
echo "TRAVIS_BUILD_NUMBER: ${TRAVIS_BUILD_NUMBER}"
echo "TRAVIS_JOB_NUMBER: ${TRAVIS_JOB_NUMBER}"
echo "TRAVIS_OS_NAME: ${TRAVIS_OS_NAME}"
echo "TRAVIS_BRANCH: ${TRAVIS_BRANCH}"
echo "TRAVIS_COMMIT: ${TRAVIS_COMMIT}"
echo "TRAVIS_COMMIT_MESSAGE: ${TRAVIS_COMMIT_MESSAGE}"
echo "TRAVIS_COMMIT_RANGE: ${TRAVIS_COMMIT_RANGE}"
echo "TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST}"
echo "TRAVIS_PULL_REQUEST_BRANCH: ${TRAVIS_PULL_REQUEST_BRANCH}"
echo "TRAVIS_EVENT_TYPE: ${TRAVIS_EVENT_TYPE}"
echo "TRAVIS_PYTHON_VERSION: ${TRAVIS_PYTHON_VERSION:-unset}"
echo "PYTHON: ${PYTHON:-unset}"
echo "VIRTUAL_ENV: ${VIRTUAL_ENV}"
echo "date: $(date --iso-8601=seconds)"
echo "pwd: $(pwd)"
echo "uname: $(uname --all)"
git --version
echo "git tag: $(git describe --tags)"
git config --global user.email "<EMAIL>"  # overcommit Author
git config --global user.name "Travis CI"  # overcommit Author
git config --global hooks.copyrightholder "<NAME>"
echo "python version: $(python --version)"
shellcheck --version
ruby --version
gem update --system --no-document
gem --version
echo "disk usage:"
df --human-readable
{'fraction_non_alphanumeric': 0.12676541508784017, 'fraction_numerical': 0.002755769893213917, 'mean_word_length': 6.0144927536231885, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5419718', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1065, 'n_words': 293}