<commit_before>language:
    - cpp

compiler:
    - clang
    - gcc

env:
    # static build does not work with gcc on travis for some reason
    - BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Release"
      #- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Release"
    - BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Debug"
      #- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Debug"

before_install:
    - sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes # libstdc++-4.8
    - if [ "${CXX}" == "clang++" ]; then sudo add-apt-repository --yes ppa:h-rayflood/llvm; fi
    - sudo apt-get update

install:
    - if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.3; fi
    - sudo apt-get install g++-4.8;
    - sudo update-alternatives --install /usr/bin/gcc-4.8 gcc /usr/bin/gcc 50
    - sudo update-alternatives --install /usr/bin/g++-4.8 g++ /usr/bin/g++ 50
    - ./CMakeScripts/install_boost.sh
    - sudo rm -rf boost_1_54_0

before_script:
    # update compilers
    - if [ "${CXX}" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
    - if [ "${CXX}" == "clang++" ]; then export CXX="clang++-3.3" CC="clang-3.3"; fi

script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} -DBUILD_TESTS=${BUILD_TESTS} -DBUILD_EXAMPLES=${BUILD_EXAMPLES} ..
    - make VERBOSE=1
    - make test
    - make package<commit_msg>Install rpm package as part of travis ci build<commit_after>language:
    - cpp

compiler:
    - clang
    - gcc

env:
    # static build does not work with gcc on travis for some reason
    - BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Release"
      #- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Release"
    - BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Debug"
      #- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Debug"

before_install:
    - sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes # libstdc++-4.8
    - if [ "${CXX}" == "clang++" ]; then sudo add-apt-repository --yes ppa:h-rayflood/llvm; fi
    - sudo apt-get update

install:
    - if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.3; fi
    - sudo apt-get install g++-4.8 rpm;
    - sudo update-alternatives --install /usr/bin/gcc-4.8 gcc /usr/bin/gcc 50
    - sudo update-alternatives --install /usr/bin/g++-4.8 g++ /usr/bin/g++ 50
    - ./CMakeScripts/install_boost.sh
    - sudo rm -rf boost_1_54_0

before_script:
    # update compilers
    - if [ "${CXX}" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
    - if [ "${CXX}" == "clang++" ]; then export CXX="clang++-3.3" CC="clang-3.3"; fi

script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} -DBUILD_TESTS=${BUILD_TESTS} -DBUILD_EXAMPLES=${BUILD_EXAMPLES} ..
    - make VERBOSE=1
    - make test
    - make package
{'fraction_non_alphanumeric': 0.16343402225755166, 'fraction_numerical': 0.017170111287758347, 'mean_word_length': 3.2861035422343323, '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': '1137358', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1258, 'n_words': 250}