<commit_before>﻿# See http://www.appveyor.com/docs/appveyor-yml for many more options

build: false

# Set build info
environment: 
  environment: development
  version: 0.8.$(appveyor_build_number)
  
# Install prereqs
# install:
# - cinst pester

# Set alternative clone folder
clone_folder: c:\github\dbatools

before_test:
   # "Get Pester manually"
  - ps: Install-Module -Name Pester -Repository PSGallery -Force | Out-Null
  # "Setting up the local SQL Server environments"
  - ps: .\Tests\appveyor.sqlserver.ps1

test_script:
  # "Installing nuget and PSScriptAnalyzer"
  #- ps: Install-PackageProvider NuGet -MinimumVersion '172.16.31.10' -Force | Out-Null
  #- ps: Import-PackageProvider NuGet -MinimumVersion '172.16.31.10' -Force | Out-Null
  - ps: Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.6.0 -Repository PSGallery -Force | Out-Null
  
  # "Test with native PS version"
  - ps: .\Tests\appveyor.pester.ps1
  
  # "Test with PS version 3" - Removed because it's not a true test. Even PS4+ .Where() works
  # - ps: powershell.exe -version 3.0 -executionpolicy bypass -noprofile -file .\Tests\appveyor.pester.ps1

  # "Collecting and uploading results"
  - ps: .\Tests\appveyor.pester.ps1 -Finalize

#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))<commit_msg>blocking to see what the box is doing<commit_after>﻿# See http://www.appveyor.com/docs/appveyor-yml for many more options

build: false

# Set build info
environment: 
  environment: development
  version: 0.8.$(appveyor_build_number)
  
# Install prereqs
# install:
# - cinst pester

# Set alternative clone folder
clone_folder: c:\github\dbatools

before_test:
   # "Get Pester manually"
  - ps: Install-Module -Name Pester -Repository PSGallery -Force | Out-Null
  # "Setting up the local SQL Server environments"
  - ps: .\Tests\appveyor.sqlserver.ps1

test_script:
  # "Installing nuget and PSScriptAnalyzer"
  #- ps: Install-PackageProvider NuGet -MinimumVersion '172.16.31.10' -Force | Out-Null
  #- ps: Import-PackageProvider NuGet -MinimumVersion '172.16.31.10' -Force | Out-Null
  - ps: Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.6.0 -Repository PSGallery -Force | Out-Null
  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
  # "Test with native PS version"
  - ps: .\Tests\appveyor.pester.ps1
  
  # "Test with PS version 3" - Removed because it's not a true test. Even PS4+ .Where() works
  # - ps: powershell.exe -version 3.0 -executionpolicy bypass -noprofile -file .\Tests\appveyor.pester.ps1

  # "Collecting and uploading results"
  - ps: .\Tests\appveyor.pester.ps1 -Finalize

#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
{'fraction_non_alphanumeric': 0.12571237009721756, 'fraction_numerical': 0.02179014415018438, 'mean_word_length': 3.8129032258064517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '560575', 'n_tokens_mistral': 1076, 'n_tokens_neox': 1016, 'n_words': 260}