<commit_before>language:
  - cpp

compiler:
  - gcc
  - clang

env:
  - CMAKE_BUILD_TYPE="Release"
  - 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 # clang++-3.2
  - sudo apt-get update

install:
  - if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.2; fi
  - sudo apt-get install g++-4.8; # clang need it for libstdc++ update

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.2" CC="clang-3.2"; fi

script:
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -Dpfasst_DISABLE_LIBCXX=ON -Dpfasst_BUILD_TESTS=ON ..
  - make
  - make test
<commit_msg>enable examples in travis builds<commit_after>language:
  - cpp

compiler:
  - gcc
  - clang

env:
  - CMAKE_BUILD_TYPE="Release"
  - 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 # clang++-3.2
  - sudo apt-get update

install:
  - if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.2; fi
  - sudo apt-get install g++-4.8; # clang need it for libstdc++ update

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.2" CC="clang-3.2"; fi

script:
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -Dpfasst_DISABLE_LIBCXX=ON -Dpfasst_BUILD_TESTS=ON -Dpfasst_BUILD_EXAMPLES=ON ..
  - make
  - make test

{'fraction_non_alphanumeric': 0.1867403314917127, 'fraction_numerical': 0.017679558011049725, 'mean_word_length': 3.241217798594848, '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': '3158347', 'n_tokens_mistral': 779, 'n_tokens_neox': 745, 'n_words': 163}