<commit_before>language: cpp

compiler:
  - gcc
  - clang

before_install:
  - sudo apt-get update -qq

install:
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository -y ppa:tuleu/precise-backports
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install build-essential libgflags-dev libgoogle-glog-dev libeigen3-dev
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install python-software-properties
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install gcc-4.8 g++-4.8
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo update-alternatives --config gcc
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo update-alternatives --config g++
  - if [ $TRAVIS_OS_NAME == osx ]; then brew tap homebrew/science && brew install opencv gflags glog eigen

before_script:
  - if [ $TRAVIS_OS_NAME == linux ]; then export CXX="g++-4.8"
  - if [ $TRAVIS_OS_NAME == linux ]; then git clone https://github.com/Itseez/opencv.git
  - if [ $TRAVIS_OS_NAME == linux ]; thencd opencv
  - if [ $TRAVIS_OS_NAME == linux ]; then git checkout 2.4
  - if [ $TRAVIS_OS_NAME == linux ]; then mkdir build
  - if [ $TRAVIS_OS_NAME == linux ]; then cd build
  - if [ $TRAVIS_OS_NAME == linux ]; then cmake -DBUILD_opencv_features2d=ON -DBUILD_opencv_highgui=ON -DBUILD_opencv_imgproc=ON -DBUILD_opencv_core=ON -DBUILD_opencv_nonfree=ON -DBUILD_opencv_calib3d=ON -DBUILD_opencv_video=OFF -DBUILD_opencv_objdetect=OFF -DBUILD_opencv_ml=OFF -DBUILD_opencv_flann=ON -DBUILD_opencv_gpu=OFF -DBUILD_opencv_photo=OFF -DBUILD_opencv_stitching=OFF -DBUILD_opencv_contrib=OFF -DBUILD_opencv_legacy=ON -DBUILD_opencv_ocl=OFF -DBUILD_opencv_superres=OFF -DBUILD_opencv_viz=OFF ..
  - if [ $TRAVIS_OS_NAME == linux ]; then make -j8
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo make -j8 install
  - if [ $TRAVIS_OS_NAME == linux ]; then cd ../..
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=Release ..

script: make && cd ../bin/ && ./run_tests

branches:
  only:
    - master

notifications:
  email: false

os:<commit_msg>Travis tweaks<commit_after>language: cpp

compiler:
  - gcc
  - clang

before_install:
  - sudo apt-get update -qq

install:
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:tuleu/precise-backports
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install build-essential libgflags-dev libgoogle-glog-dev libeigen3-dev
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install python-software-properties
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install gcc-4.8 g++-4.8
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo update-alternatives --config gcc
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo update-alternatives --config g++
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew tap homebrew/science && brew install opencv gflags glog eigen

before_script:
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX="g++-4.8"
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then git clone https://github.com/Itseez/opencv.git
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; thencd opencv
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then git checkout 2.4
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then mkdir build
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cd build
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cmake -DBUILD_opencv_features2d=ON -DBUILD_opencv_highgui=ON -DBUILD_opencv_imgproc=ON -DBUILD_opencv_core=ON -DBUILD_opencv_nonfree=ON -DBUILD_opencv_calib3d=ON -DBUILD_opencv_video=OFF -DBUILD_opencv_objdetect=OFF -DBUILD_opencv_ml=OFF -DBUILD_opencv_flann=ON -DBUILD_opencv_gpu=OFF -DBUILD_opencv_photo=OFF -DBUILD_opencv_stitching=OFF -DBUILD_opencv_contrib=OFF -DBUILD_opencv_legacy=ON -DBUILD_opencv_ocl=OFF -DBUILD_opencv_superres=OFF -DBUILD_opencv_viz=OFF ..
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then make -j8
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo make -j8 install
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cd ../..
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=Release ..

script: make && cd ../bin/ && ./run_tests

branches:
  only:
    - master

notifications:
  email: false

os:
{'fraction_non_alphanumeric': 0.1448388412892697, 'fraction_numerical': 0.008567931456548347, 'mean_word_length': 3.8257874015748032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1110793', 'n_tokens_mistral': 2013, 'n_tokens_neox': 1923, 'n_words': 422}