<commit_before>version: 2
jobs:
  MacOS:
    macos:
      xcode: "9.3.0"
    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-spm-deps-{{ checksum "Package.swift" }}
      - run:
          name: Install CMySQL and CTLS
          command: |
            brew tap vapor/homebrew-tap
            brew install cmysql
            brew install ctls
            brew install libressl
      - run:
          name: Build and Run Tests
          no_output_timeout: 1800
          command: |
            swift package generate-xcodeproj --enable-code-coverage    
            xcodebuild -scheme JWTKeychain-Package -enableCodeCoverage YES test | xcpretty
      - run:
          name: Report coverage to Codecov
          command: |
            bash <(curl -s https://codecov.io/bash)
      - save_cache:
          key: v1-spm-deps-{{ checksum "Package.swift" }}
          paths:
            - .build
  Linux:
    docker:
      - image: nodesvapor/vapor-ci:swift-4.1
    steps:
      - checkout
      - restore_cache:
          keys:
            - v2-spm-deps-{{ checksum "Package.swift" }}
      - run:
          name: Copy Package file
          command: cp Package.swift res
      - run:
          name: Build and Run Tests<commit_msg>Avoid cache when building<commit_after>version: 2
jobs:
  MacOS:
    macos:
      xcode: "9.3.0"
    steps:
      - checkout
      - restore_cache:
          keys:
            - v3-spm-deps-{{ checksum "Package.swift" }}
      - run:
          name: Install CMySQL and CTLS
          command: |
            brew tap vapor/homebrew-tap
            brew install cmysql
            brew install ctls
            brew install libressl
      - run:
          name: Build and Run Tests
          no_output_timeout: 1800
          command: |
            swift package generate-xcodeproj --enable-code-coverage    
            xcodebuild -scheme JWTKeychain-Package -enableCodeCoverage YES test | xcpretty
      - run:
          name: Report coverage to Codecov
          command: |
            bash <(curl -s https://codecov.io/bash)
      - save_cache:
          key: v1-spm-deps-{{ checksum "Package.swift" }}
          paths:
            - .build
  Linux:
    docker:
      - image: nodesvapor/vapor-ci:swift-4.1
    steps:
      - checkout
      - restore_cache:
          keys:
            - v4-spm-deps-{{ checksum "Package.swift" }}
      - run:
          name: Copy Package file
          command: cp Package.swift res
      - run:
          name: Build and Run Tests
{'fraction_non_alphanumeric': 0.089540412044374, 'fraction_numerical': 0.010301109350237718, 'mean_word_length': 1.409351145038168, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '469255', 'n_tokens_mistral': 791, 'n_tokens_neox': 748, 'n_words': 196}