<commit_before>#!/bin/bash
# Script run in the travis CI
set -e

if [ "x$BUILDTOOL" = "xautotools" ]; then
    # One time with the cached configure script to see if that one works well.
    ../configure
    make -d

    autoreconf ..
    ../configure
    echo "CONFIGURATION DONE. Compiling now."
    make check_all

    # Special check for all the gtest versions.
    make check_gtest

    # One more normal build for generating test reports
    ../configure
    make check
    ./CppUTestTests -ojunit
    ./CppUTestExtTests -ojunit
    cp ../scripts/generate_junit_report_ant.xml .
    ant -f generate_junit_report_ant.xml

    make dist
    make dist-zip

    if [ "x$CXX" = "xg++" ]; then
        cd .. && travis_github_deployer -v || exit 1
    fi;
fi

if [ "x$BUILDTOOL" = "xcmake" ]; then
    cmake .. -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE
    make || exit 1
    ctest -V || exit 1

    if [ "x$CXX" != "xg++" ]; then
        cmake .. -DC++11=ON -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE
        make || exit 1
        ctest -V || exit 1
    fi

    wget https://googlemock.googlecode.com/files/gmock-1.6.0.zip
    unzip gmock-1.6.0.zip -d $TRAVIS_BUILD_DIR
    cd $TRAVIS_BUILD_DIR/gmock-1.6.0
    ./configure && make
    cd -

    export GMOCK_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0
    export GTEST_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0/gtest
    cmake .. -DGMOCK=ON || exit 1
    make || exit 1
    ctest -V || exit 1
fi

<commit_msg>Removed debug flag on make<commit_after>#!/bin/bash
# Script run in the travis CI
set -e

if [ "x$BUILDTOOL" = "xautotools" ]; then
    # One time with the cached configure script to see if that one works well.
    ../configure
    make

    autoreconf ..
    ../configure
    echo "CONFIGURATION DONE. Compiling now."
    make check_all

    # Special check for all the gtest versions.
    make check_gtest

    # One more normal build for generating test reports
    ../configure
    make check
    ./CppUTestTests -ojunit
    ./CppUTestExtTests -ojunit
    cp ../scripts/generate_junit_report_ant.xml .
    ant -f generate_junit_report_ant.xml

    make dist
    make dist-zip

    if [ "x$CXX" = "xg++" ]; then
        cd .. && travis_github_deployer -v || exit 1
    fi;
fi

if [ "x$BUILDTOOL" = "xcmake" ]; then
    cmake .. -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE
    make || exit 1
    ctest -V || exit 1

    if [ "x$CXX" != "xg++" ]; then
        cmake .. -DC++11=ON -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE
        make || exit 1
        ctest -V || exit 1
    fi

    wget https://googlemock.googlecode.com/files/gmock-1.6.0.zip
    unzip gmock-1.6.0.zip -d $TRAVIS_BUILD_DIR
    cd $TRAVIS_BUILD_DIR/gmock-1.6.0
    ./configure && make
    cd -

    export GMOCK_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0
    export GTEST_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0/gtest
    cmake .. -DGMOCK=ON || exit 1
    make || exit 1
    ctest -V || exit 1
fi


{'fraction_non_alphanumeric': 0.11725817675713292, 'fraction_numerical': 0.017397355601948505, 'mean_word_length': 2.293241695303551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5186560', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1040, 'n_words': 279}