<commit_before>trigger:
  branches:
    include: ['*']

jobs:
- job: 'unit_and_integration_tests'
  displayName: 'Unit and integration tests'
  pool:
    vmImage: 'Ubuntu-16.04'

  steps:
    - script: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
      displayName: 'Install Rust'
    - script: rustup component add --toolchain stable rustfmt
      displayName: 'Install rustfmt'
    - script: git submodule update --init --recursive
      displayName: 'Fetch botocore sources'
    - script: make unit_test
      displayName: 'Run unit tests'
    - script: make rustls_unit_test
      displayName: 'Run unit tests with rustls'
    - script: make check_integration_test
      displayName: 'Cargo check integration tests'

- job: 'crate_gen'
  displayName: 'Crate generation'
  pool:
    vmImage: 'Ubuntu-16.04'

  steps:
    - script: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
      displayName: 'Install Rust'
    - script: rustup component add --toolchain stable rustfmt
      displayName: 'Install rustfmt'
    - script: git submodule update --init --recursive
      displayName: 'Fetch botocore sources'
    - script: make generate
      displayName: 'Generate crates from botocore'<commit_msg>Run some Pipeline jobs on OSX.<commit_after>trigger:
  branches:
    include: ['*']

jobs:
- job: 'unit_and_integration_tests_linux'
  displayName: 'Unit and integration tests on Linux'
  pool:
    vmImage: 'Ubuntu-16.04'

  steps:
    - script: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
      displayName: 'Install Rust'
    - script: rustup component add --toolchain stable rustfmt
      displayName: 'Install rustfmt'
    - script: git submodule update --init --recursive
      displayName: 'Fetch botocore sources'
    - script: make unit_test
      displayName: 'Run unit tests'
    - script: make rustls_unit_test
      displayName: 'Run unit tests with rustls'
    - script: make check_integration_test
      displayName: 'Cargo check integration tests'

- job: 'unit_and_integration_tests_osx'
  displayName: 'Unit and integration tests on OSX'
  pool:
    vmImage: 'macos-10.13'

  steps:
    - script: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
      displayName: 'Install Rust'
    - script: rustup component add --toolchain stable rustfmt
      displayName: 'Install rustfmt'
    - script: git submodule update --init --recursive
      displayName: 'Fetch botocore sources'
    - script: make unit_test
      displayName: 'Run unit tests'
    - script: make rustls_unit_test
      displayName: 'Run unit tests with rustls'
    - script: make check_integration_test
      displayName: 'Cargo check integration tests'

- job: 'crate_gen_linux'
  displayName: 'Crate generation on Linux'
  pool:
    vmImage: 'Ubuntu-16.04'

  steps:
    - script: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
      displayName: 'Install Rust'
    - script: rustup component add --toolchain stable rustfmt
      displayName: 'Install rustfmt'
    - script: git submodule update --init --recursive
      displayName: 'Fetch botocore sources'
    - script: make generate
      displayName: 'Generate crates from botocore'

- job: 'crate_gen_osx'
  displayName: 'Crate generation on OSX'
  pool:
    vmImage: 'macos-10.13'

  steps:
    - script: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
      displayName: 'Install Rust'
    - script: rustup component add --toolchain stable rustfmt
      displayName: 'Install rustfmt'
    - script: git submodule update --init --recursive
      displayName: 'Fetch botocore sources'
    - script: make generate
      displayName: 'Generate crates from botocore'
{'fraction_non_alphanumeric': 0.11024524409809763, 'fraction_numerical': 0.0055008022003208805, 'mean_word_length': 2.733105218135158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '4397031', 'n_tokens_mistral': 1403, 'n_tokens_neox': 1351, 'n_words': 398}