#appveyor.yml reference: http://www.appveyor.com/docs/appveyor-yml
version: 0.21.2.{build}
os: Visual Studio 2015 RC
platform: Any CPU
clone_folder: c:\gittfs
clone_depth: 1
# build cache to preserve files/folders between builds
cache:
  - packages -> **\repositories.config  # preserve "packages" directory in the root of build folder but will reset it if repositories.config is modified
init: []
install:
#- choco install tfs2010objectmodel -y
#- choco install tfs2012objectmodel -y
#- choco install tfs2013objectmodel -y
build_script:
  - msbuild GitTfs.sln /t:GitTfs_Vs2015 /t:GitTfsTest /verbosity:minimal /p:Configuration=Debug /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /nologo /p:BuildInParallel=true /m:4

test:
  assemblies: '**\GitTfsTest.dll'
after_test:
  - ps: |
      & ".\FunctionalTesting\smoke_tests.ps1" "$Env:APPVEYOR_BUILD_FOLDER\GitTfs\bin\Debug"
#appveyor.yml reference: http://www.appveyor.com/docs/appveyor-yml
version: 0.21.2.{build}
os: Visual Studio 2015 RC
platform: Any CPU
clone_folder: c:\gittfs
clone_depth: 1
# build cache to preserve files/folders between builds
cache:
  - packages -> **\repositories.config  # preserve "packages" directory in the root of build folder but will reset it if repositories.config is modified
init: []
install:
#- choco install tfs2010objectmodel -y
#- choco install tfs2012objectmodel -y
#- choco install tfs2013objectmodel -y
build_script:
  - msbuild GitTfs.sln /t:GitTfs_Vs2015 /t:GitTfsTest /verbosity:minimal /p:Configuration=Debug /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /nologo /p:BuildInParallel=true /m:4
after_build:
  - ps: |
      $zipFile= "git-tfs_$Env:APPVEYOR_REPO_COMMIT.zip"
      7z a $zipFile "$Env:APPVEYOR_BUILD_FOLDER\GitTfs\bin\Debug\*" -xr!"*.pdb"
      Push-AppveyorArtifact $zipFile
test:
  assemblies: '**\GitTfsTest.dll'
after_test:
  - ps: |
      & ".\FunctionalTesting\smoke_tests.ps1" "$Env:APPVEYOR_BUILD_FOLDER\GitTfs\bin\Debug"
Build a zip file as artifact
Build a zip file as artifact
