# Notes:
#   - Indent each level of configuration with 2 spaces. Do not use tabs!
#   - All section names are case-sensitive.
#   - Section names should be unique on each level.

#---------------------------------#
#      general configuration      #
#---------------------------------#

# version format
version: 1.0.{build}

#---------------------------------#
#    environment configuration    #
#---------------------------------#

# Operating system (build VM template)
os: Visual Studio 2015

# scripts that are called at very beginning, before repo cloning
init:
  - git config --global core.autocrlf true

#---------------------------------#
#       build configuration       #
#---------------------------------#

# build Configuration, i.e. Debug, Release, etc.
configuration: Release

build:
  project: SharpEssentials.sln
  verbosity: minimal               # MSBuild verbosity level


# scripts to run before build
before_build:
  - nuget restore


#---------------------------------#
#       tests configuration       #
#---------------------------------#

#test:
#  assemblies:
#    - Tests.Unit.dll

test_script:
  - &"C:\projects\SharpEssentials\packages\xunit.runner.console*\tools\xunit.console.exe" "C:\projects\SharpEssentials\SharpEssentials.Tests.Unit\bin\Debug\SharpEssentials.Tests.Unit.dll"

# Notes:
#   - Indent each level of configuration with 2 spaces. Do not use tabs!
#   - All section names are case-sensitive.
#   - Section names should be unique on each level.

#---------------------------------#
#      general configuration      #
#---------------------------------#

# version format
version: 1.0.{build}

#---------------------------------#
#    environment configuration    #
#---------------------------------#

# Operating system (build VM template)
os: Visual Studio 2015

# scripts that are called at very beginning, before repo cloning
init:
  - git config --global core.autocrlf true

#---------------------------------#
#       build configuration       #
#---------------------------------#

# build Configuration, i.e. Debug, Release, etc.
configuration: Release

build:
  project: SharpEssentials.sln
  verbosity: minimal               # MSBuild verbosity level


# scripts to run before build
before_build:
  - nuget restore


#---------------------------------#
#       tests configuration       #
#---------------------------------#

#test:
#  assemblies:
#    - Tests.Unit.dll

test_script:
  - ps: &"C:\projects\SharpEssentials\packages\xunit.runner.console*\tools\xunit.console.exe" "C:\projects\SharpEssentials\SharpEssentials.Tests.Unit\bin\Debug\SharpEssentials.Tests.Unit.dll"

Use PowerShell to run tests.
Use PowerShell to run tests.
