<commit_before># master branch configuration
-
  branches:
    only:
      - master
      
  skip_tags: true
  skip_commits:
    message: /Update.*\.md/

  version: 1.4.{build}
  configuration: Release
    
  install:  
    - cmd: SET PATH=%APPVEYOR_BUILD_FOLDER%\packages\PhantomJS.2.0.0\tools\phantomjs;%PATH%
  
  assembly_info:
    patch: true
    file: AssemblyInfo.*
    assembly_version: "1.4"
    assembly_file_version: "{version}"
    assembly_informational_version: "{version}"
    
  nuget:
    account_feed: true
    project_feed: true
    disable_publish_on_pr: true
  
  environment:
    SHFBROOT: '%APPVEYOR_BUILD_FOLDER%\packages\SHFB.2014.5.31\tools\Sandcastle Help File Builder'
    COVERALLS_REPO_TOKEN:
      secure: <KEY>
    GH_ACCESS_TOKEN:
      secure: <KEY>
    OPENCOVER_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\OpenCover.4.5.3723'
    COVERALLS_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\coveralls.io.1.2.2\tools'

  before_build:
    - nuget restore
  
  build:
    project: Selenium.WebDriver.Extensions.sln
    
  after_build:
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net40 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net35 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Docs /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

  test_script:
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all -appveyor
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=PhantomJS

  after_test:
    - '%OPENCOVER_ROOT%\OpenCover.Console.exe -register:user -target:"packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe" -targetargs:"test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all" -output:coverage.xml -filter:"+[*]* -[*]*Exception* -[*.Tests]*"'
    - '%COVERALLS_ROOT%\coveralls.net.exe --opencover coverage.xml'
  
  before_deploy:
    - nuget pack src\Selenium.WebDriver.Extensions.Core\Selenium.WebDriver.Extensions.Core.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - nuget pack src\Selenium.WebDriver.Extensions.JQuery\Selenium.WebDriver.Extensions.JQuery.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - nuget pack src\Selenium.WebDriver.Extensions.Sizzle\Selenium.WebDriver.Extensions.Sizzle.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - nuget pack src\Selenium.WebDriver.Extensions\Selenium.WebDriver.Extensions.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

  deploy:
    - provider: NuGet
      api_key:
        secure: <KEY>
    - provider: GitHub
      release: $(APPVEYOR_BUILD_VERSION)
      artifact: /.*\.nupkg/
      auth_token:
        secure: <KEY>
        
  on_success:
    - git clone -q -b gh-pages https://github.com/RaYell/selenium-webdriver-extensions.git docs\gh-pages
    - cd docs\gh-pages
    - git config --global credential.helper store
    - git config user.email "<EMAIL>"
    - git config user.name "<NAME>"
    - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GH_ACCESS_TOKEN):x-oauth-basic@github.com`n"
    - git rm -r api 
    - xcopy ..\bin\Docs api /s /i
    - git add api
    - git commit -a -m "Documentation updated"
    - git push
    - cd ..\..

# develop, feature & bugfix branches
-
  branches:
    only:
      - develop
      - /feature.*/
      - /bugfix.*/
      
  skip_tags: true
  skip_commits:
    message: /Update.*\.md/

  version: 1.4.{build}
  configuration: Release
    
  install:  
    - cmd: SET PATH=%APPVEYOR_BUILD_FOLDER%\packages\PhantomJS.2.0.0\tools\phantomjs;%PATH%
  
  assembly_info:
    patch: true
    file: AssemblyInfo.*
    assembly_version: "1.4"
    assembly_file_version: "{version}"
    assembly_informational_version: "{version}-dev"
  
  nuget:
    account_feed: true
    project_feed: true
    disable_publish_on_pr: true
  
  environment:
    SHFBROOT: '%APPVEYOR_BUILD_FOLDER%\packages\SHFB.2014.5.31\tools\Sandcastle Help File Builder'
    COVERALLS_REPO_TOKEN:
      secure: <KEY>
    OPENCOVER_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\OpenCover.4.5.3723'
    COVERALLS_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\coveralls.io.1.2.2\tools'

  before_build:
    - nuget restore
  
  build:
    project: Selenium.WebDriver.Extensions.sln
    
  after_build:
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net40 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net35 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Docs /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

  test_script:
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all -appveyor
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=PhantomJS
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=Chrome
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=Firefox
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=InternetExplorer

  after_test:
    - '%OPENCOVER_ROOT%\OpenCover.Console.exe -register:user -target:"packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe" -targetargs:"test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all" -output:coverage.xml -filter:"+[*]* -[*]*Exception* -[*.Tests]*"'
    - '%COVERALLS_ROOT%\coveralls.net.exe --opencover coverage.xml'
      
  before_deploy:
    - nuget pack src\Selenium.WebDriver.Extensions.Core\Selenium.WebDriver.Extensions.Core.nuspec -Version "%APPVEYOR_BUILD_VERSION%"-dev
    - nuget pack src\Selenium.WebDriver.Extensions.JQuery\Selenium.WebDriver.Extensions.JQuery.nuspec -Version "%APPVEYOR_BUILD_VERSION%-dev"
    - nuget pack src\Selenium.WebDriver.Extensions.Sizzle\Selenium.WebDriver.Extensions.Sizzle.nuspec -Version "%APPVEYOR_BUILD_VERSION%-dev"
    - nuget pack src\Selenium.WebDriver.Extensions\Selenium.WebDriver.Extensions.nuspec -Version "%APPVEYOR_BUILD_VERSION%-dev"
    - ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

# release branch configuration
-
  branches:
    only:
      - /release.*/
      
  skip_tags: true
  skip_commits:
    message: /Update.*\.md/

  version: 1.4.{build}
  configuration: Release
    <commit_msg>Revert "appveyor config updated"<commit_after># master branch configuration
-
  branches:
    only:
      - master
      
  skip_tags: true
  skip_commits:
    message: /Update.*\.md/

  version: 1.4.{build}
  configuration: Release
    
  install:  
    - cmd: SET PATH=%APPVEYOR_BUILD_FOLDER%\packages\PhantomJS.2.0.0\tools\phantomjs;%PATH%
  
  assembly_info:
    patch: true
    file: AssemblyInfo.*
    assembly_version: "1.4"
    assembly_file_version: "{version}"
    assembly_informational_version: "{version}"
    
  nuget:
    account_feed: true
    project_feed: true
    disable_publish_on_pr: true
  
  environment:
    SHFBROOT: '%APPVEYOR_BUILD_FOLDER%\packages\SHFB.2014.5.31\tools\Sandcastle Help File Builder'
    COVERALLS_REPO_TOKEN:
      secure: <KEY>
    GH_ACCESS_TOKEN:
      secure: <KEY>
    OPENCOVER_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\OpenCover.4.5.3723'
    COVERALLS_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\coveralls.io.1.2.2\tools'

  before_build:
    - nuget restore
  
  build:
    project: Selenium.WebDriver.Extensions.sln
    
  after_build:
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net40 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net35 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Docs /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

  test_script:
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all -appveyor
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=PhantomJS

  after_test:
    - '%OPENCOVER_ROOT%\OpenCover.Console.exe -register:user -target:"packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe" -targetargs:"test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all" -output:coverage.xml -filter:"+[*]* -[*]*Exception* -[*.Tests]*"'
    - '%COVERALLS_ROOT%\coveralls.net.exe --opencover coverage.xml'
  
  before_deploy:
    - nuget pack src\Selenium.WebDriver.Extensions.Core\Selenium.WebDriver.Extensions.Core.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - nuget pack src\Selenium.WebDriver.Extensions.JQuery\Selenium.WebDriver.Extensions.JQuery.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - nuget pack src\Selenium.WebDriver.Extensions.Sizzle\Selenium.WebDriver.Extensions.Sizzle.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - nuget pack src\Selenium.WebDriver.Extensions\Selenium.WebDriver.Extensions.nuspec -Version "%APPVEYOR_BUILD_VERSION%"
    - ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

  deploy:
    - provider: NuGet
      api_key:
        secure: <KEY>
    - provider: GitHub
      release: $(APPVEYOR_BUILD_VERSION)
      artifact: /.*\.nupkg/
      auth_token:
        secure: <KEY>
        
  on_success:
    - git clone -q -b gh-pages https://github.com/RaYell/selenium-webdriver-extensions.git docs\gh-pages
    - cd docs\gh-pages
    - git config --global credential.helper store
    - git config user.email "<EMAIL>"
    - git config user.name "AppVeyor Agent"
    - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GH_ACCESS_TOKEN):x-oauth-basic@github.com`n"
    - git rm -r api 
    - xcopy ..\bin\Docs api /s /i
    - git add api
    - git commit -a -m "Documentation updated"
    - git push
    - cd ..\..

# develop, feature & bugfix branches
-
  branches:
    only:
      - develop
      - /feature.*/
      - /bugfix.*/
      
  skip_tags: true
  skip_commits:
    message: /Update.*\.md/

  version: 1.4.{build}
  configuration: Release
    
  install:  
    - cmd: SET PATH=%APPVEYOR_BUILD_FOLDER%\packages\PhantomJS.2.0.0\tools\phantomjs;%PATH%
  
  assembly_info:
    patch: true
    file: AssemblyInfo.*
    assembly_version: "1.4"
    assembly_file_version: "{version}"
    assembly_informational_version: "{version}-dev"
  
  nuget:
    account_feed: true
    project_feed: true
    disable_publish_on_pr: true
  
  environment:
    SHFBROOT: '%APPVEYOR_BUILD_FOLDER%\packages\SHFB.2014.5.31\tools\Sandcastle Help File Builder'
    COVERALLS_REPO_TOKEN:
      secure: <KEY>
    OPENCOVER_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\OpenCover.4.5.3723'
    COVERALLS_ROOT: '%APPVEYOR_BUILD_FOLDER%\packages\coveralls.io.1.2.2\tools'

  before_build:
    - nuget restore
  
  build:
    project: Selenium.WebDriver.Extensions.sln
    
  after_build:
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net40 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Release-Net35 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
    - msbuild Selenium.WebDriver.Extensions.sln /property:Configuration=Docs /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

  test_script:
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all -appveyor
    - packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe test\Selenium.WebDriver.Extensions.IntegrationTests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.IntegrationTests.dll -noshadow -appveyor -trait Browser=PhantomJS

  after_test:
    - '%OPENCOVER_ROOT%\OpenCover.Console.exe -register:user -target:"packages\xunit.runner.console.2.0.0-rc4-build2924\tools\xunit.console.exe" -targetargs:"test\Selenium.WebDriver.Extensions.Core.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Core.Tests.dll test\Selenium.WebDriver.Extensions.JQuery.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.JQuery.Tests.dll test\Selenium.WebDriver.Extensions.Sizzle.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Sizzle.Tests.dll test\Selenium.WebDriver.Extensions.Tests\bin\%CONFIGURATION%\Selenium.WebDriver.Extensions.Tests.dll -noshadow -parallel all" -output:coverage.xml -filter:"+[*]* -[*]*Exception* -[*.Tests]*"'
    - '%COVERALLS_ROOT%\coveralls.net.exe --opencover coverage.xml'
      
  before_deploy:
    - nuget pack src\Selenium.WebDriver.Extensions.Core\Selenium.WebDriver.Extensions.Core.nuspec -Version "%APPVEYOR_BUILD_VERSION%"-dev
    - nuget pack src\Selenium.WebDriver.Extensions.JQuery\Selenium.WebDriver.Extensions.JQuery.nuspec -Version "%APPVEYOR_BUILD_VERSION%-dev"
    - nuget pack src\Selenium.WebDriver.Extensions.Sizzle\Selenium.WebDriver.Extensions.Sizzle.nuspec -Version "%APPVEYOR_BUILD_VERSION%-dev"
    - nuget pack src\Selenium.WebDriver.Extensions\Selenium.WebDriver.Extensions.nuspec -Version "%APPVEYOR_BUILD_VERSION%-dev"
    - ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

# release branch configuration
-
  branches:
    only:
      - /release.*/
      
  skip_tags: true
  skip_commits:
    message: /Update.*\.md/

  version: 1.4.{build}
  configuration: Release
    
{'fraction_non_alphanumeric': 0.12800179967380912, 'fraction_numerical': 0.0130476351161352, 'mean_word_length': 4.090752934440309, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 2, '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': '3567130', 'n_tokens_mistral': 6475, 'n_tokens_neox': 6173, 'n_words': 728}