<commit_before>language: cpp
sudo: false

compiler:
  - clang
  - gcc

addons:
  apt:
    sources:
    - ubuntu-toolchain-r/test
    - ppa:h-rayflood/llvm
  apt:
    packages:
    - gcc-4.9
    - g++-4.9
    - clang-3.4
    - cmake
    - libmsgpack-dev
    - libudt-dev

install:
  - if [ "$CC" = "gcc" ]; then
      export CC="gcc-4.9" &&
      export CXX="g++-4.9";
    fi

  - if [ "$CC" == "clang" ]; then
      export CC="clang-3.4" &&
      export CXX="clang++-3.4";
    fi

script:
   - cmake .
   - make
   - make install
   - ctest --output-on-failure<commit_msg>ok, that didn't work...<commit_after>language: cpp

compiler:
  - clang
  - gcc

before_install:
  # gcc-4.9
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  # clang 3.4
  - if [ "$CC" == "clang" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
  - sudo apt-get update -qq

install:
  - sudo apt-get install -qq cmake g++-4.9
  - sudo apt-get install -qq libmsgpack-dev libudt-dev 

  - if [ "$CC" = "gcc" ]; then
      export CC="gcc-4.9" &&
      export CXX="g++-4.9";
    fi

  - if [ "$CC" == "clang" ]; then
      sudo apt-get install --allow-unauthenticated -qq clang-3.4 &&
      export CC="clang-3.4" &&
      export CXX="clang++-3.4";
    fi

script:
   - cmake .
   - make
   - ctest --output-on-failure
{'fraction_non_alphanumeric': 0.17444529456771232, 'fraction_numerical': 0.022953328232593728, 'mean_word_length': 1.9327354260089686, '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': '283046', 'n_tokens_mistral': 567, 'n_tokens_neox': 538, 'n_words': 116}