<commit_before>language: cpp
sudo: false

compiler:
  - clang
  - gcc

env:
  - BUILD_TYPE=Debug
  - BUILD_TYPE=Release

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - h-rayflood-llvm
    packages:
      - cmake
      - libboost-all-dev
      - g++-5
      - clang++3.6

before_install:
  - clang++ --version
  - g++ --version

install:
  - cmake --version
  - mkdir build && cd build
  - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ../
  - make

script:
  - ctest -V<commit_msg>travis<commit_after>language: cpp
sudo: false

compiler:
  - clang
  - gcc

env:
  - BUILD_TYPE=Debug
  - BUILD_TYPE=Release

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - h-rayflood-llvm
    packages:
      - cmake
      - libboost-all-dev
      - g++-5
      - clang++-3.6

before_install:
  - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
  - if [ "$CXX" = "clang++"]; then export CXX="clang++-3.6" CC="clang-3.6"; fi

install:
  - cmake --version
  - mkdir build && cd build
  - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ../
  - make

script:
  - ctest -V
{'fraction_non_alphanumeric': 0.15576036866359447, 'fraction_numerical': 0.011059907834101382, 'mean_word_length': 2.0591549295774647, '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': '1137719', 'n_tokens_mistral': 457, 'n_tokens_neox': 440, 'n_words': 87}