<commit_before>strategy:
  matrix:
    mojave:
      imageName: 'macOS-10.14'
    high_sierra:
      imageName: 'macOS-10.13'

pool:
  vmImage: $(imageName)

steps:
- bash: |
    set -e
    if [[ -n "$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER" ]]; then
      git fetch origin "master:master" "pull/$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER/head:pr"
      git checkout pr
    fi
    set -u
    sudo xcode-select --switch /Applications/Xcode_10.1.app/Contents/Developer
    tap="$(brew --repo)"/Library/Taps/"$BUILD_REPOSITORY_ID"
    mkdir -p $(dirname "$tap")
    sudo ln -s "$PWD" "$tap"
    brew test-bot --fast
  displayName: 'Run brew test-bot'
  env:
    HOMEBREW_NO_ANALYTICS: 1
    HOMEBREW_NO_AUTO_UPDATE: 1
<commit_msg>azure-pipelines.yml: try xquartz install (#689)<commit_after>strategy:
  matrix:
    mojave:
      imageName: 'macOS-10.14'
    high_sierra:
      imageName: 'macOS-10.13'

pool:
  vmImage: $(imageName)

steps:
- bash: |
    set -e
    if [[ -n "$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER" ]]; then
      git fetch origin "master:master" "pull/$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER/head:pr"
      git checkout pr
    fi
    set -u
    sudo xcode-select --switch /Applications/Xcode_10.1.app/Contents/Developer
    tap="$(brew --repo)"/Library/Taps/"$BUILD_REPOSITORY_ID"
    mkdir -p $(dirname "$tap")
    sudo ln -s "$PWD" "$tap"
    brew cask install xquartz
    brew test-bot --fast
  displayName: 'Run brew test-bot'
  env:
    HOMEBREW_NO_ANALYTICS: 1
    HOMEBREW_NO_AUTO_UPDATE: 1

{'fraction_non_alphanumeric': 0.1278295605858855, 'fraction_numerical': 0.019307589880159785, 'mean_word_length': 3.073170731707317, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2181144', 'n_tokens_mistral': 611, 'n_tokens_neox': 556, 'n_words': 122}