<commit_before>version: 1.0.{build}
environment:
  TEST_ASSEMBLIES: Tests.Unit.Presentation.Web\bin\Debug\Tests.Unit.Presentation.Web.dll
  COVERAGE_FILTER_CORE_APPLICATIONSERVICES: +[Core.ApplicationServices]*
  COVERAGE_FILTER_CORE_DOMAINMODEL: +[Core.DomainModel]*
  COVERAGE_FILTER_CORE_DOMAINSERVICES: +[Core.DomainServices]*
  COVERAGE_FILTER_INFRASTRUCTURE_DATAACCESS: +[Infrastructure.DataAccess]*
  COVERAGE_FILTER_INFRASTRUCTURE_OPENXML: +[Infrastructure.OpenXML]*
  COVERAGE_FILTER_PRESENTATION_WEB: +[Presentation.Web]*
  COVERAGE_EXCL_FILTER_PRESENTATION_WEB: -[Presentation.Web]Presentation.Web.App_Start* -[Presentation.Web]Presentation.Web.AuthConfig -[Presentation.Web]Presentation.Web.BundleConfig -[Presentation.Web]Presentation.Web.DropdownProfile -[Presentation.Web]Presentation.Web.FilterConfig -[Presentation.Web]Presentation.Web.Infrastructure.NinjectDependencyResolver -[Presentation.Web]Presentation.Web.Infrastructure.NinjectDependencyScope -[Presentation.Web]Presentation.Web.Infrastructure.UserRepositoryFactory -[Presentation.Web]Presentation.Web.Infrastructure.ProviderInitializationHttpModule -[Presentation.Web]Presentation.Web.MappingProfile -[Presentation.Web]Presentation.Web.MappingConfig -[Presentation.Web]Presentation.Web.Models* -[Presentation.Web]Presentation.Web.MvcApplication -[Presentation.Web]Presentation.Web.Properties.Settings -[Presentation.Web]Presentation.Web.RouteConfig -[Presentation.Web]Presentation.Web.Startup -[Presentation.Web]Presentation.Web.WebApiConfig
  ESLINT_DIR: Presentation.Web\Scripts\app
  TSLINT_DIR: Presentation.Web\Scripts\app
  NODEJS_VERSION: "4"
install:
  - ps: install-Product node $env:NODEJS_VERSION
  - npm install
  - node_modules\.bin\webdriver-manager update --standalone
cache:
  - node_modules -> package.json # cache node packages if package.json is the same
  - packages -> **\packages.config
services:
- iis
- mysql56
before_build:
- nuget restore %APPVEYOR_BUILD_FOLDER%\KITOS.sln -verbosity quiet
build:
  project: KITOS.sln
  verbosity: minimal
  publish_wap: true
after_build:
  # - node_modules\.bin\gulp lint
test_script:
  # Use karma for local coverage report and karmaPost for coveralls.io.
  - node_modules\.bin\gulp karmaPost
  # - run-coverage.bat
  # Comment out to remove coverage from Coveralls.io
  # - post-coverage.bat
# artifacts:
# # Coverage
# - path: coverage
  # name: Backend Coverage Report
# - path: karmaCoverage
  # name: Frontend Coverage Report
# - path: results.xml
  # name: OpenCover results
deploy:
- provider: Local
after_deploy:
  - node_modules\.bin\gulp protractor<commit_msg>Add artifact deployment setting.<commit_after>version: 1.0.{build}
environment:
  TEST_ASSEMBLIES: Tests.Unit.Presentation.Web\bin\Debug\Tests.Unit.Presentation.Web.dll
  COVERAGE_FILTER_CORE_APPLICATIONSERVICES: +[Core.ApplicationServices]*
  COVERAGE_FILTER_CORE_DOMAINMODEL: +[Core.DomainModel]*
  COVERAGE_FILTER_CORE_DOMAINSERVICES: +[Core.DomainServices]*
  COVERAGE_FILTER_INFRASTRUCTURE_DATAACCESS: +[Infrastructure.DataAccess]*
  COVERAGE_FILTER_INFRASTRUCTURE_OPENXML: +[Infrastructure.OpenXML]*
  COVERAGE_FILTER_PRESENTATION_WEB: +[Presentation.Web]*
  COVERAGE_EXCL_FILTER_PRESENTATION_WEB: -[Presentation.Web]Presentation.Web.App_Start* -[Presentation.Web]Presentation.Web.AuthConfig -[Presentation.Web]Presentation.Web.BundleConfig -[Presentation.Web]Presentation.Web.DropdownProfile -[Presentation.Web]Presentation.Web.FilterConfig -[Presentation.Web]Presentation.Web.Infrastructure.NinjectDependencyResolver -[Presentation.Web]Presentation.Web.Infrastructure.NinjectDependencyScope -[Presentation.Web]Presentation.Web.Infrastructure.UserRepositoryFactory -[Presentation.Web]Presentation.Web.Infrastructure.ProviderInitializationHttpModule -[Presentation.Web]Presentation.Web.MappingProfile -[Presentation.Web]Presentation.Web.MappingConfig -[Presentation.Web]Presentation.Web.Models* -[Presentation.Web]Presentation.Web.MvcApplication -[Presentation.Web]Presentation.Web.Properties.Settings -[Presentation.Web]Presentation.Web.RouteConfig -[Presentation.Web]Presentation.Web.Startup -[Presentation.Web]Presentation.Web.WebApiConfig
  ESLINT_DIR: Presentation.Web\Scripts\app
  TSLINT_DIR: Presentation.Web\Scripts\app
  NODEJS_VERSION: "4"
install:
  - ps: install-Product node $env:NODEJS_VERSION
  - npm install
  - node_modules\.bin\webdriver-manager update --standalone
cache:
  - node_modules -> package.json # cache node packages if package.json is the same
  - packages -> **\packages.config
services:
- iis
- mysql56
before_build:
- nuget restore %APPVEYOR_BUILD_FOLDER%\KITOS.sln -verbosity quiet
build:
  project: KITOS.sln
  verbosity: minimal
  publish_wap: true
after_build:
  # - node_modules\.bin\gulp lint
test_script:
  # Use karma for local coverage report and karmaPost for coveralls.io.
  - node_modules\.bin\gulp karmaPost
  # - run-coverage.bat
  # Comment out to remove coverage from Coveralls.io
  # - post-coverage.bat
artifacts:

# # Coverage
# - path: coverage
  # name: Backend Coverage Report
# - path: karmaCoverage
  # name: Frontend Coverage Report
# - path: results.xml
  # name: OpenCover results
deploy:
- provider: Local
  Presentation.Web.Zip.deploy_website: true
after_deploy:
  - node_modules\.bin\gulp protractor
{'fraction_non_alphanumeric': 0.10386656557998483, 'fraction_numerical': 0.0018953752843062926, 'mean_word_length': 6.036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6145823', 'n_tokens_mistral': 1736, 'n_tokens_neox': 1698, 'n_words': 264}