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

env:
  global:
  - coverity_scan_script_test_mode=false
  - coverity_scan_run_condition='"$TRAVIS_OS_NAME" != osx -a "$BUILD_TYPE" = Release'
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  # start artifacts
  - ARTIFACTS_BUCKET=osirose-builds
  - secure: "<KEY>
  - secure: "<KEY>
  # other artifacts upload
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  # end artifacts
  - secure: "<KEY>
  - SUITE=tests
  - PREFIX=${TRAVIS_BUILD_DIR}/3rdparty
  - PROOT=echo "ERRROOORRRR STILL USING PROOT!@!@!@!@!@"
  - WITH_CRASH_REPORTS=ON
  - BUILD_JOB_COUNT=4
  - CCACHE_SLOPPINESS="pch_defines,time_macros"
  - PATH=${TRAVIS_BUILD_DIR}/3rdparty/bin:${TRAVIS_BUILD_DIR}/3rdparty/usr/bin:${TRAVIS_BUILD_DIR}/3rdparty/usr/local/bin:${TRAVIS_BUILD_DIR}/cmake_app/bin:${TRAVIS_BUILD_DIR}/ninja:$HOME/usr/bin:$HOME/usr/local/bin:$PATH
  - LCOV_PATH=${TRAVIS_BUILD_DIR}/3rdparty/usr/local/bin/lcov
  - CI_DIRECTORY=${TRAVIS_BUILD_DIR}/cmake/scripts
  - GENHTML_PATH=${TRAVIS_BUILD_DIR}/3rdparty/usr/local/bin/genhtml
  
services:
  mysql

cache:
  pip: true
  ccache: true
  bundler: true
  directories:
  - ${TRAVIS_BUILD_DIR}/3rdparty/bin
  - ${TRAVIS_BUILD_DIR}/3rdparty/usr
  - ${TRAVIS_BUILD_DIR}/3rdparty/lib
  - ${TRAVIS_BUILD_DIR}/3rdparty/include
  - ${TRAVIS_BUILD_DIR}/ninja

jobs:
  include:
    - &gccinit
      stage: prepare cache
      if: branch != coverity_scan
      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
      compiler: g++
      addons:
        apt:
          sources:
          - deadsnakes
          - ubuntu-toolchain-r-test
          packages:
          - lcov
          - g++-8
      before_install:
        - eval "${MATRIX_EVAL}"
        - export PREFIX=${TRAVIS_BUILD_DIR}/3rdparty
        - export PATH=${TRAVIS_BUILD_DIR}/3rdparty/bin:$PATH
      install:
        ############################################################################
        # Install a recent CMake
        ############################################################################
        - |
          if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
            CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz"
            mkdir cmake_app && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $TRAVIS_BUILD_DIR/cmake_app
          else
            brew upgrade cmake || brew install cmake
          fi
        - cmake --version
        - bash $CI_DIRECTORY/install-ccache.sh
        - ccache --version
        - ccache --show-stats
        - bash $CI_DIRECTORY/install-lcov.sh
        - bash $CI_DIRECTORY/install-ninja.sh
        - bash $CI_DIRECTORY/install-mysql.sh
      script: true

    - &clanginit
      stage: prepare cache
      if: branch != coverity_scan
      env: MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"
      compiler: clang++
      addons:
        apt:
          sources:
          - deadsnakes
          - ubuntu-toolchain-r-test
          - llvm-toolchain-trusty
          packages:
          - lcov
          - g++-8
          - clang++-7
      before_install:
        - eval "${MATRIX_EVAL}"
        - export PREFIX=${TRAVIS_BUILD_DIR}/3rdparty
        - export PATH=${TRAVIS_BUILD_DIR}/3rdparty/bin:$PATH
      install:
        ############################################################################
        # Install a recent CMake
        ############################################################################
        - |
          if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
            CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz"
            mkdir cmake_app && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $TRAVIS_BUILD_DIR/cmake_app<commit_msg>Added missing source repo<commit_after>sudo: false
dist: trusty
group: edge
language: cpp

env:
  global:
  - coverity_scan_script_test_mode=false
  - coverity_scan_run_condition='"$TRAVIS_OS_NAME" != osx -a "$BUILD_TYPE" = Release'
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "tvFQn4BjO/DG0yE5NEdZsmY73qsxhN5CsXl+C4GkCzz8KgtOGyVFij5R18+IP3X44CKOz54dLy9pE3lCY2v9wvvLnnv1hV3kH2EvV5Ccv2zw8jozz7OpxK2GMSoqPvHK/FAEo3mbuwhnOS2fEV3+hWSF9/piwSAmFhnjH7VHZnnx8yVfpzEl0Oq4JLM1fEx400Z+Glvn9uDfjY8cvzRVp8HqHTuPNNRLmNvGPAYqstpKAxEh6Tml6eUrCxbndbcvtTt7vlshW9OuU5LVh2Y63ftZpsKCWfpu5K4MfgD4oLineo+2zz3jfv/Hs8vTVLzRQph6OkxLiZBqUgUyoZzZ/r4bMQbbS6wmbWwZOaIQyjFRr68FZ/yW4JJ/KkUhMB3LA7it2rNhhI6+jTQqvLO+VAucuUmFJ0xIsbULBTo7cyL7X40rDLFxhXNLTjcqPT1nUzKCrmFxrDh7utegggN0UtXVAWl6KN8f003TVlunM+BrB8r08kX/JU0modFzXS0sMDF/<KEY>
  - secure: "<KEY>
  # start artifacts
  - ARTIFACTS_BUCKET=osirose-builds
  - secure: "<KEY>
  - secure: "<KEY>
  # other artifacts upload
  - secure: "<KEY>
  - secure: "<KEY>
  - secure: "<KEY>
  # end artifacts
  - secure: "<KEY>
  - SUITE=tests
  - PREFIX=${TRAVIS_BUILD_DIR}/3rdparty
  - PROOT=echo "ERRROOORRRR STILL USING PROOT!@!@!@!@!@"
  - WITH_CRASH_REPORTS=ON
  - BUILD_JOB_COUNT=4
  - CCACHE_SLOPPINESS="pch_defines,time_macros"
  - PATH=${TRAVIS_BUILD_DIR}/3rdparty/bin:${TRAVIS_BUILD_DIR}/3rdparty/usr/bin:${TRAVIS_BUILD_DIR}/3rdparty/usr/local/bin:${TRAVIS_BUILD_DIR}/cmake_app/bin:${TRAVIS_BUILD_DIR}/ninja:$HOME/usr/bin:$HOME/usr/local/bin:$PATH
  - LCOV_PATH=${TRAVIS_BUILD_DIR}/3rdparty/usr/local/bin/lcov
  - CI_DIRECTORY=${TRAVIS_BUILD_DIR}/cmake/scripts
  - GENHTML_PATH=${TRAVIS_BUILD_DIR}/3rdparty/usr/local/bin/genhtml
  
services:
  mysql

cache:
  pip: true
  ccache: true
  bundler: true
  directories:
  - ${TRAVIS_BUILD_DIR}/3rdparty/bin
  - ${TRAVIS_BUILD_DIR}/3rdparty/usr
  - ${TRAVIS_BUILD_DIR}/3rdparty/lib
  - ${TRAVIS_BUILD_DIR}/3rdparty/include
  - ${TRAVIS_BUILD_DIR}/ninja

jobs:
  include:
    - &gccinit
      stage: prepare cache
      if: branch != coverity_scan
      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
      compiler: g++
      addons:
        apt:
          sources:
          - deadsnakes
          - ubuntu-toolchain-r-test
          packages:
          - lcov
          - g++-8
      before_install:
        - eval "${MATRIX_EVAL}"
        - export PREFIX=${TRAVIS_BUILD_DIR}/3rdparty
        - export PATH=${TRAVIS_BUILD_DIR}/3rdparty/bin:$PATH
      install:
        ############################################################################
        # Install a recent CMake
        ############################################################################
        - |
          if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
            CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz"
            mkdir cmake_app && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $TRAVIS_BUILD_DIR/cmake_app
          else
            brew upgrade cmake || brew install cmake
          fi
        - cmake --version
        - bash $CI_DIRECTORY/install-ccache.sh
        - ccache --version
        - ccache --show-stats
        - bash $CI_DIRECTORY/install-lcov.sh
        - bash $CI_DIRECTORY/install-ninja.sh
        - bash $CI_DIRECTORY/install-mysql.sh
      script: true

    - &clanginit
      stage: prepare cache
      if: branch != coverity_scan
      env: MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"
      compiler: clang++
      addons:
        apt:
          sources:
          - deadsnakes
          - ubuntu-toolchain-r-test
          - llvm-toolchain-trusty-7
          - llvm-toolchain-trusty
          packages:
          - lcov
          - g++-8
          - clang++-7
      before_install:
        - eval "${MATRIX_EVAL}"
        - export PREFIX=${TRAVIS_BUILD_DIR}/3rdparty
        - export PATH=${TRAVIS_BUILD_DIR}/3rdparty/bin:$PATH
      install:
        ############################################################################
        # Install a recent CMake
        ############################################################################
        - |
          if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
            CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz"
            mkdir cmake_app && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $TRAVIS_BUILD_DIR/cmake_app
{'fraction_non_alphanumeric': 0.19435255198487714, 'fraction_numerical': 0.021502835538752364, 'mean_word_length': 2.790864308105687, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4455686', 'n_tokens_mistral': 3314, 'n_tokens_neox': 3140, 'n_words': 413}