<commit_before>sudo: required
language: c++
services:
    - docker
env:
    global:
    matrix:
        - SCRIPT="build_clang7_Debug_address"
        - SCRIPT="build_clang7_Debug_thread"
        - SCRIPT="build_clang7_Debug_undefined"
        - SCRIPT="build_clang7_Debug_none"
        - SCRIPT="build_clang7_Profile_none"
        - SCRIPT="build_clang7_Release_none"
        - SCRIPT="build_clang7_Relwithdebinfo_none"
        - SCRIPT="build_clang6_Debug_none"
        - SCRIPT="build_clang6_Release_none"
        - SCRIPT="build_default-clang_Debug_none"
        - SCRIPT="build_gcc8_Debug_address"
        - SCRIPT="build_gcc8_Debug_thread"
        - SCRIPT="build_gcc8_Debug_undefined"
        - SCRIPT="build_gcc8_Debug_none"
        - SCRIPT="build_gcc8_Profile_none"
        - SCRIPT="build_gcc8_Release_none"
        - SCRIPT="build_gcc8_Relwithdebinfo_none"
        - SCRIPT="build_gcc7_Debug_none"
        - SCRIPT="build_gcc7_Release_none"
        - SCRIPT="build_default-gcc_Debug_none"
        - SCRIPT="gnu_make"
        - SCRIPT="pic"

script:
    - docker build -t but-sdk sdk/
    - >
        docker run
        --rm
        --cap-add=SYS_PTRACE
        --volume $(pwd):/mnt
        but-sdk
        /mnt/ci/"${SCRIPT}"<commit_msg>Revert "disabled cache from docker hub, as it often bounce of limits" - it turns out that pulling official, base image is also limited, thus back in square one...<commit_after>sudo: required
language: c++
services:
    - docker
env:
    global:
    matrix:
        - SCRIPT="build_clang7_Debug_address"
        - SCRIPT="build_clang7_Debug_thread"
        - SCRIPT="build_clang7_Debug_undefined"
        - SCRIPT="build_clang7_Debug_none"
        - SCRIPT="build_clang7_Profile_none"
        - SCRIPT="build_clang7_Release_none"
        - SCRIPT="build_clang7_Relwithdebinfo_none"
        - SCRIPT="build_clang6_Debug_none"
        - SCRIPT="build_clang6_Release_none"
        - SCRIPT="build_default-clang_Debug_none"
        - SCRIPT="build_gcc8_Debug_address"
        - SCRIPT="build_gcc8_Debug_thread"
        - SCRIPT="build_gcc8_Debug_undefined"
        - SCRIPT="build_gcc8_Debug_none"
        - SCRIPT="build_gcc8_Profile_none"
        - SCRIPT="build_gcc8_Release_none"
        - SCRIPT="build_gcc8_Relwithdebinfo_none"
        - SCRIPT="build_gcc7_Debug_none"
        - SCRIPT="build_gcc7_Release_none"
        - SCRIPT="build_default-gcc_Debug_none"
        - SCRIPT="gnu_make"
        - SCRIPT="pic"

script:
    - docker build -t but-sdk --cache-from baszerr/but-sdk sdk/
    - >
        docker run
        --rm
        --cap-add=SYS_PTRACE
        --volume $(pwd):/mnt
        but-sdk
        /mnt/ci/"${SCRIPT}"
{'fraction_non_alphanumeric': 0.10321615557217652, 'fraction_numerical': 0.013462976813762155, 'mean_word_length': 2.547745358090186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1004758', 'n_tokens_mistral': 1048, 'n_tokens_neox': 923, 'n_words': 118}