<commit_before>language: c

matrix:
  include:
    - os: linux
      dist: bionic
      addons:
        apt:
          packages:
            - lcov
            - libdbus-1-dev
            - libdbus-glib-1-dev
            - libcurl4-openssl-dev
            - libgcrypt-dev
            - libselinux1-dev
            - libgconf2-dev
            - libacl1-dev
            - libblkid-dev
            - libcap-dev
            - libxml2-dev
            - swig
            - libxml-parser-perl
            - libxml-xpath-perl
            - libperl-dev
            - librpm-dev
            - swig
            - librtmp-dev
            - xsltproc
            - rpm-common
            - lua50
      before_script:
        - cd build
      script:
        - cmake -DCMAKE_BUILD_TYPE=Debug ../
        - build-wrapper-linux-x86-64 --out-dir bw-output make all || make all  # build-wrapper won't work on forked repositories.
        - ctest --output-on-failure || true  # Tests won't pass on Ubuntu.
        - (cd .. && sonar-scanner) || true  # Will always fail builds on forked repositories.
      after_success:
        - curl -s https://codecov.io/bash > cov.sh && bash cov.sh -x "$GCOV"
    - os: osx
      before_install:
        - brew update
        - brew install doxygen
        - brew install opendbx
        - brew install popt
        - brew install swig
      before_script:
        - cd build
      script:
        - cmake -DENABLE_PROBES=false ../
        - make -j 4

addons:
  sonarcloud:
    organization: "openscap"<commit_msg>Do not ignore test results<commit_after>language: c

matrix:
  include:
    - os: linux
      dist: bionic
      addons:
        apt:
          packages:
            - lcov
            - libdbus-1-dev
            - libdbus-glib-1-dev
            - libcurl4-openssl-dev
            - libgcrypt-dev
            - libselinux1-dev
            - libgconf2-dev
            - libacl1-dev
            - libblkid-dev
            - libcap-dev
            - libxml2-dev
            - swig
            - libxml-parser-perl
            - libxml-xpath-perl
            - libperl-dev
            - librpm-dev
            - swig
            - librtmp-dev
            - xsltproc
            - rpm-common
            - lua50
      before_script:
        - cd build
      script:
        - cmake -DCMAKE_BUILD_TYPE=Debug ../
        - build-wrapper-linux-x86-64 --out-dir bw-output make all || make all  # build-wrapper won't work on forked repositories.
        - ctest --output-on-failure
        - (cd .. && sonar-scanner) || true  # Will always fail builds on forked repositories.
      after_success:
        - curl -s https://codecov.io/bash > cov.sh && bash cov.sh -x "$GCOV"
    - os: osx
      before_install:
        - brew update
        - brew install doxygen
        - brew install opendbx
        - brew install popt
        - brew install swig
      before_script:
        - cd build
      script:
        - cmake -DENABLE_PROBES=false ../
        - make -j 4

addons:
  sonarcloud:
    organization: "openscap"
{'fraction_non_alphanumeric': 0.09177631578947368, 'fraction_numerical': 0.009210526315789473, 'mean_word_length': 1.1736954967834168, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6043695', 'n_tokens_mistral': 978, 'n_tokens_neox': 921, 'n_words': 213}