<commit_before>dist: xenial

sudo: false

matrix:
  include:

    - name: "OpenJDK 8"
      language: java
      jdk: openjdk8
      os: linux
      script: ./gradlew --scan

    - name: "OpenJDK 11"
      language: java
      jdk: openjdk11
      os: linux
      script: ./gradlew --scan

    - name: "C#"
      language: csharp
      jdk: openjdk8
      dotnet: 2.2
      os: linux
      mono: latest
      global:
        - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
        - DOTNET_CLI_TELEMETRY_OPTOUT=1
      script:
        - ./csharp/build.sh
        - ./csharp/runtests.sh
        - ./csharp/pack.sh

    - env: COMPILER=g++-5
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-5
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-6
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-6
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-7
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-7
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-8
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-8
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-9
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-9
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=clang++-4.0
      language: cpp
      compiler: clang
      os: linux
      addons:
        apt:
          packages:
            - clang-4.0
            - libsparsehash-dev
          sources:
            - llvm-toolchain-xenial-4.0
      script: ./cppbuild/cppbuild

    - env: COMPILER=clang++-5.0
      language: cpp
      compiler: clang
      os: linux
      addons:
        apt:
          packages:
            - clang-5.0
            - libsparsehash-dev
          sources:
            - llvm-toolchain-xenial-5.0
      script: ./cppbuild/cppbuild

    - env: COMPILER=clang++-6.0
      language: cpp
      compiler: clang
      os: linux
      addons:
        apt:
          packages:
            - clang-6.0<commit_msg>[C++] Drop clang 4 build from Travis.<commit_after>dist: xenial

sudo: false

matrix:
  include:

    - name: "OpenJDK 8"
      language: java
      jdk: openjdk8
      os: linux
      script: ./gradlew --scan

    - name: "OpenJDK 11"
      language: java
      jdk: openjdk11
      os: linux
      script: ./gradlew --scan

    - name: "C#"
      language: csharp
      jdk: openjdk8
      dotnet: 2.2
      os: linux
      mono: latest
      global:
        - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
        - DOTNET_CLI_TELEMETRY_OPTOUT=1
      script:
        - ./csharp/build.sh
        - ./csharp/runtests.sh
        - ./csharp/pack.sh

    - env: COMPILER=g++-5
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-5
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-6
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-6
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-7
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-7
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-8
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-8
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=g++-9
      language: cpp
      compiler: gcc
      os: linux
      addons:
        apt:
          packages:
            - g++-9
            - libsparsehash-dev
          sources:
            - ubuntu-toolchain-r-test
      script: ./cppbuild/cppbuild

    - env: COMPILER=clang++-5.0
      language: cpp
      compiler: clang
      os: linux
      addons:
        apt:
          packages:
            - clang-5.0
            - libsparsehash-dev
          sources:
            - llvm-toolchain-xenial-5.0
      script: ./cppbuild/cppbuild

    - env: COMPILER=clang++-6.0
      language: cpp
      compiler: clang
      os: linux
      addons:
        apt:
          packages:
            - clang-6.0
{'fraction_non_alphanumeric': 0.09994200657258843, 'fraction_numerical': 0.012951865455248405, 'mean_word_length': 1.1812816188870152, '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': '5230914', 'n_tokens_mistral': 1785, 'n_tokens_neox': 1676, 'n_words': 348}