<commit_before>language: cpp
dist: trusty
sudo: false

matrix:
  include:
    # GCC 6
    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-6
      env:
        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"

      after_success:
        - pip install --user cpp-coveralls
        - coveralls -r .. --gcov-options '\-lp' --exclude build/CMakeFiles

    # Clang / Xcode 8
    - os: osx
      osx_image: xcode8

before_install:
    - eval "${MATRIX_EVAL}"

install:
  # mkdir<commit_msg>添加Valgrind<commit_after>language: cpp
dist: trusty
sudo: false

matrix:
  include:
    # GCC 6
    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-6
      env:
        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"

      after_success:
        # coverage
        - pip install --user cpp-coveralls
        - coveralls -r .. --gcov-options '\-lp' --exclude build/CMakeFiles

    # Clang / Xcode 8
    - os: osx
      osx_image: xcode8

    # Valgrind
    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - valgrind
            - g++-6
      env:
        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
      script:
        - make LeviDB -j2 && valgrind --leak-check=full ./LeviDB

# shared
before_install:
    - eval "${MATRIX_EVAL}"

install:
  # mkdir
{'fraction_non_alphanumeric': 0.1232876712328767, 'fraction_numerical': 0.010958904109589041, 'mean_word_length': 1.4472361809045227, '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': '6286930', 'n_tokens_mistral': 549, 'n_tokens_neox': 517, 'n_words': 109}