<commit_before>language: cpp

matrix:
  include:
    # -----------------------------------------------------------------------------------
    # linux gcc-6 with coverage

    - os: linux
      dist: trusty
      addons: &gcc6 { apt: { packages: [g++-6], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: { apt: { packages: [g++-6, lcov], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Coverage GCOV=gcov-6

    # -----------------------------------------------------------------------------------
    # linux gcc-7

    - os: linux
      dist: trusty
      addons: &gcc7 { apt: { packages: [g++-7], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *gcc7
      env: MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux gcc-8

    - os: linux
      dist: trusty
      addons: &gcc8 { apt: { packages: [g++-8], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *gcc8
      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux clang-4

    - os: linux
      dist: trusty
      addons: &clang4 { apt: {
        packages: [clang-4.0, libstdc++-6-dev] ,
        sources: [ubuntu-toolchain-r-test, llvm-toolchain-trusty-4.0] } }
      env: MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *clang4
      env: MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux clang-7

    - os: linux
      dist: trusty
      addons: &clang7 { apt: {
        packages: [clang-7.0, libstdc++-6-dev] ,
        sources: [ubuntu-toolchain-r-test, llvm-toolchain-trusty-7.0] } }
      env: MATRIX_EVAL="CC=clang-7.0 && CXX=clang++-7.0" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *clang7
      env: MATRIX_EVAL="CC=clang-7.0 && CXX=clang++-7.0" BUILD_TYPE=Debug<commit_msg>Remove clang-7 in favor of 5 and 6<commit_after>language: cpp

matrix:
  include:
    # -----------------------------------------------------------------------------------
    # linux gcc-6 with coverage

    - os: linux
      dist: trusty
      addons: &gcc6 { apt: { packages: [g++-6], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: { apt: { packages: [g++-6, lcov], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Coverage GCOV=gcov-6

    # -----------------------------------------------------------------------------------
    # linux gcc-7

    - os: linux
      dist: trusty
      addons: &gcc7 { apt: { packages: [g++-7], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *gcc7
      env: MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux gcc-8

    - os: linux
      dist: trusty
      addons: &gcc8 { apt: { packages: [g++-8], sources: [ubuntu-toolchain-r-test] } }
      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *gcc8
      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux clang-4

    - os: linux
      dist: trusty
      addons: &clang4 { apt: {
        packages: [clang-4.0, libstdc++-6-dev] ,
        sources: [ubuntu-toolchain-r-test, llvm-toolchain-trusty-4.0] } }
      env: MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *clang4
      env: MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux clang-5

    - os: linux
      dist: trusty
      addons: &clang5 { apt: {
        packages: [clang-5.0, libstdc++-6-dev] ,
        sources: [ubuntu-toolchain-r-test, llvm-toolchain-trusty-5.0] } }
      env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *clang5
      env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0" BUILD_TYPE=Debug

    # -----------------------------------------------------------------------------------
    # linux clang-6

    - os: linux
      dist: trusty
      addons: &clang6 { apt: {
        packages: [clang-6.0, libstdc++-6-dev] ,
        sources: [ubuntu-toolchain-r-test, llvm-toolchain-trusty-6.0] } }
      env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" BUILD_TYPE=Release

    - os: linux
      dist: trusty
      addons: *clang6
      env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" BUILD_TYPE=Debug
{'fraction_non_alphanumeric': 0.30794947994056465, 'fraction_numerical': 0.024702823179791975, 'mean_word_length': 1.3827433628318584, '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': '1004194', 'n_tokens_mistral': 2018, 'n_tokens_neox': 1871, 'n_words': 337}