<commit_before>language: cpp

branches:
  only:
    - develop
    - master

git:
  depth: 1

matrix:
  include:

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Release DLL=OFF RENDERER=null Y3=catch2 BENCHMARK=1
      addons: &gcc9_xcb
        apt:
          sources: &all_sources
            - ubuntu-toolchain-r-test
          packages:
            - g++-9
            - libopenal-dev
            - libvorbis-dev
            - libxcb-image0-dev
            - libxcb-xkb-dev
            - libxkbcommon-dev
            - libxkbcommon-x11-dev

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Debug DLL=ON RENDERER=null Y3=catch2,lcov COVERAGE=1
      addons: *gcc9_xcb

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Release DLL=OFF RENDERER=opengl Y3=catch2
      addons: &gcc9_x11
        apt:
          sources: *all_sources
          packages:
            - g++-9
            - libgl-dev
            - libopenal-dev
            - libvorbis-dev

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Debug DLL=ON RENDERER=opengl Y3=catch2
      addons: *gcc9_x11

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Release DLL=OFF RENDERER=vulkan Y3=catch2,glslang,vulkan
      addons: *gcc9_xcb

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Debug DLL=ON RENDERER=vulkan Y3=catch2,glslang,vulkan
      addons: *gcc9_xcb

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Release DLL=OFF RENDERER=null Y3=catch2 BENCHMARK=1
      addons: &clang7_xcb
        apt:
          sources: *all_sources
          packages:
            - libopenal-dev
            - libstdc++-8-dev
            - libvorbis-dev
            - libxcb-image0-dev
            - libxcb-xkb-dev
            - libxkbcommon-dev
            - libxkbcommon-x11-dev

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Release DLL=OFF RENDERER=opengl Y3=catch2
      addons: &clang7_x11
        apt:
          sources: *all_sources
          packages:
            - libgl-dev
            - libopenal-dev
            - libstdc++-8-dev
            - libvorbis-dev

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Debug DLL=ON RENDERER=opengl Y3=catch2 TIDY=1
      addons: *clang7_x11

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Release DLL=OFF RENDERER=vulkan Y3=catch2,glslang,vulkan
      addons: *clang7_xcb

    - os: linux<commit_msg>Install required ALSA packages on Travis CI<commit_after>language: cpp

branches:
  only:
    - develop
    - master

git:
  depth: 1

matrix:
  include:

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Release DLL=OFF RENDERER=null Y3=catch2 BENCHMARK=1
      addons: &gcc9_xcb
        apt:
          sources: &all_sources
            - ubuntu-toolchain-r-test
          packages:
            - g++-9
            - libasound2-dev
            - libvorbis-dev
            - libxcb-image0-dev
            - libxcb-xkb-dev
            - libxkbcommon-dev
            - libxkbcommon-x11-dev

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Debug DLL=ON RENDERER=null Y3=catch2,lcov COVERAGE=1
      addons: *gcc9_xcb

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Release DLL=OFF RENDERER=opengl Y3=catch2
      addons: &gcc9_x11
        apt:
          sources: *all_sources
          packages:
            - g++-9
            - libasound2-dev
            - libgl-dev
            - libvorbis-dev

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Debug DLL=ON RENDERER=opengl Y3=catch2
      addons: *gcc9_x11

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Release DLL=OFF RENDERER=vulkan Y3=catch2,glslang,vulkan
      addons: *gcc9_xcb

    - os: linux
      dist: xenial
      compiler: gcc
      env: GCC=9 CONFIG=Debug DLL=ON RENDERER=vulkan Y3=catch2,glslang,vulkan
      addons: *gcc9_xcb

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Release DLL=OFF RENDERER=null Y3=catch2 BENCHMARK=1
      addons: &clang7_xcb
        apt:
          sources: *all_sources
          packages:
            - libasound2-dev
            - libstdc++-8-dev
            - libvorbis-dev
            - libxcb-image0-dev
            - libxcb-xkb-dev
            - libxkbcommon-dev
            - libxkbcommon-x11-dev

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Release DLL=OFF RENDERER=opengl Y3=catch2
      addons: &clang7_x11
        apt:
          sources: *all_sources
          packages:
            - libasound2-dev
            - libgl-dev
            - libstdc++-8-dev
            - libvorbis-dev

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Debug DLL=ON RENDERER=opengl Y3=catch2 TIDY=1
      addons: *clang7_x11

    - os: linux
      dist: xenial
      compiler: clang
      env: CLANG=7 CONFIG=Release DLL=OFF RENDERER=vulkan Y3=catch2,glslang,vulkan
      addons: *clang7_xcb

    - os: linux
{'fraction_non_alphanumeric': 0.08525956801818871, 'fraction_numerical': 0.024630541871921183, 'mean_word_length': 1.630293971101146, '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': '557530', 'n_tokens_mistral': 1996, 'n_tokens_neox': 1863, 'n_words': 397}