<commit_before>#!/bin/bash

set -x
set -e

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    # NOTE: used to install and run our style checking tools
    osx_python_ver=3.6.2
    eval "$(pyenv init -)"
    pyenv install --skip-existing --keep --verbose $osx_python_ver
    pyenv shell $osx_python_ver
    python --version
fi

pip install -r scripts/ci/requirements.txt

# stop the build if there are any readme formatting errors
python setup.py checkdocs

# stop the build if there are any black errors
black dvc --check
black tests --check
<commit_msg>travis: list python versions supported by pyenv<commit_after>#!/bin/bash

set -x
set -e

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    # NOTE: used to install and run our style checking tools
    osx_python_ver=3.6.2
    eval "$(pyenv init -)"
    pyenv install --list
    pyenv install --skip-existing --keep --verbose $osx_python_ver
    pyenv shell $osx_python_ver
    python --version
fi

pip install -r scripts/ci/requirements.txt

# stop the build if there are any readme formatting errors
python setup.py checkdocs

# stop the build if there are any black errors
black dvc --check
black tests --check

{'fraction_non_alphanumeric': 0.09593777009507347, 'fraction_numerical': 0.005185825410544511, 'mean_word_length': 3.2573529411764706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '789126', 'n_tokens_mistral': 383, 'n_tokens_neox': 373, 'n_words': 143}