<commit_before>#!/bin/bash
# This script is meant to be called by the "after_success" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.

# License: 3-clause BSD

# 02/10/2018 remove due to Travis build issue 6307
# set -e
set +e  # because TRAVIS SUCKS

# push coverage if necessary
if [[ "$COVERAGE" == "true" ]]; then
    echo "COVERAGE=true; moving .coverage to build dir"

    # Need to run coveralls from a git checkout, so we copy .coverage
    # from TEST_DIR where nosetests has been run
    rsync $TEST_DIR/.coverage $TRAVIS_BUILD_DIR --ignore-existing
    cd $TRAVIS_BUILD_DIR

    # Ignore coveralls failures as the coveralls server is not
    # very reliable but we don't want travis to report a failure
    # in the github UI just because the coverage report failed to
    # be published.
    echo "Running coverage"
    coveralls || echo "Coveralls upload failed"
fi

# make sure we have twine in case we deploy
echo "Installing twine"
pip install twine || "pip installing twine failed"

# remove the .egg-info dir so Mac won't bomb on bdist_wheel cmd (absolute path in SOURCES.txt)
echo "Removing egg info (if exists)"
rm -r pyramid_arima.egg-info/ || echo "No local .egg cache to remove"

# make a dist folder if not there, then make sure permissions are sufficient
mkdir -p dist
chmod 777 dist<commit_msg>Not sure if rsync is preventing .coverage from making it into the coveralls dir<commit_after>#!/bin/bash
# This script is meant to be called by the "after_success" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.

# License: 3-clause BSD

# 02/10/2018 remove due to Travis build issue 6307
# set -e
set +e  # because TRAVIS SUCKS

# push coverage if necessary
if [[ "$COVERAGE" == "true" ]]; then

    # Need to run coveralls from a git checkout, so we copy .coverage
    # from TEST_DIR where nosetests has been run
    cp $TEST_DIR/.coverage $TRAVIS_BUILD_DIR
    cd $TRAVIS_BUILD_DIR

    # Ignore coveralls failures as the coveralls server is not
    # very reliable but we don't want travis to report a failure
    # in the github UI just because the coverage report failed to
    # be published.
    coveralls || echo "Coveralls upload failed"
fi

# make sure we have twine in case we deploy
pip install twine || "pip installing twine failed"

# remove the .egg-info dir so Mac won't bomb on bdist_wheel cmd (absolute path in SOURCES.txt)
rm -r pyramid_arima.egg-info/ || echo "No local .egg cache to remove"

# make a dist folder if not there, then make sure permissions are sufficient
mkdir -p dist
chmod 777 dist
{'fraction_non_alphanumeric': 0.07411674347158217, 'fraction_numerical': 0.01228878648233487, 'mean_word_length': 3.5304347826086957, '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': '7131413', 'n_tokens_mistral': 849, 'n_tokens_neox': 780, 'n_words': 370}