<commit_before>sudo: required
language: generic

branches:
  except:
    - /^.*-maint$/

addons:
  homebrew:
    update: true
    packages:
      - ccache
      - rpcgen
      - xz
      - yajl
      - glib
      - docutils

matrix:
  include:
    - services:
        - docker
      env:
        - IMAGE="ubuntu-1804"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="centos-7"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="fedora-31"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="fedora-rawhide"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="fedora-30"
        - MINGW="mingw32"
      script:
        - make -C ci/ ci-build@$IMAGE CI_CONFIGURE="$MINGW-configure"
    - services:
        - docker
      env:
        - IMAGE="fedora-30"
        - MINGW="mingw64"
      script:
        - make -C ci/ ci-build@$IMAGE CI_CONFIGURE="$MINGW-configure"
    - compiler: clang
      language: c
      os: osx
      osx_image: xcode10.3
      env:
        - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:/usr/local/opt/rpcgen/bin:$PATH"
        - PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
      before_script:
        # Hack to blow away py2
        - brew link --overwrite python
      script:
        # We can't run 'distcheck' or 'syntax-check' because they fail on
        # macOS, but doing 'install' and 'dist' gives us some useful coverage
        - mkdir build && cd build
        - ../autogen.sh --prefix=$(pwd)/install-root && make -j3 && make -j3 install && make -j3 dist
<commit_msg>travis: add macOS Xcode 11.3 testing<commit_after>sudo: required
language: generic

branches:
  except:
    - /^.*-maint$/

addons:
  homebrew:
    update: true
    packages:
      - ccache
      - rpcgen
      - xz
      - yajl
      - glib
      - docutils

matrix:
  include:
    - services:
        - docker
      env:
        - IMAGE="ubuntu-1804"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="centos-7"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="fedora-31"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="fedora-rawhide"
        - MAKE_ARGS="syntax-check distcheck"
      script:
        - make -C ci/ ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
    - services:
        - docker
      env:
        - IMAGE="fedora-30"
        - MINGW="mingw32"
      script:
        - make -C ci/ ci-build@$IMAGE CI_CONFIGURE="$MINGW-configure"
    - services:
        - docker
      env:
        - IMAGE="fedora-30"
        - MINGW="mingw64"
      script:
        - make -C ci/ ci-build@$IMAGE CI_CONFIGURE="$MINGW-configure"
    - compiler: clang
      language: c
      os: osx
      osx_image: xcode10.3
      env:
        - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:/usr/local/opt/rpcgen/bin:$PATH"
        - PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
      before_script:
        # Hack to blow away py2
        - brew link --overwrite python
      script:
        # We can't run 'distcheck' or 'syntax-check' because they fail on
        # macOS, but doing 'install' and 'dist' gives us some useful coverage
        - mkdir build && cd build
        - ../autogen.sh --prefix=$(pwd)/install-root && make -j3 && make -j3 install && make -j3 dist
    - compiler: clang
      language: c
      os: osx
      osx_image: xcode11.3
      env:
        - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:/usr/local/opt/rpcgen/bin:$PATH"
        - PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
      before_script:
        # Hack to blow away py2
        - brew link --overwrite python
      script:
        # We can't run 'distcheck' or 'syntax-check' because they fail on
        # macOS, but doing 'install' and 'dist' gives us some useful coverage
        - mkdir build && cd build
        - ../autogen.sh --prefix=$(pwd)/install-root && make -j3 && make -j3 install && make -j3 dist

{'fraction_non_alphanumeric': 0.12650853100291304, 'fraction_numerical': 0.011860174781523096, 'mean_word_length': 1.7610568638713384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '4277992', 'n_tokens_mistral': 1723, 'n_tokens_neox': 1610, 'n_words': 356}