version: 1.0.{build}
branches:
  only:
  - development/r1.0
  - release/r1.0
image: Visual Studio 2015
install:
- cmd: >-
    set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
    
    dnvm install 1.0.0-rc1-update2 -r coreclr -arch x64 -nonative
cache: C:\Users\appveyor\.dnx\packages
build_script:
- ps: >-
    dnvm use 1.0.0-rc1-update2 -r coreclr -arch x64
    
    $buildVersion = "alpha1-$env:APPVEYOR_BUILD_NUMBER"

    .\restore-packages.ps1 -BuildVersion $buildVersion -Verbose

    .\build-all.ps1 -BuildVersion $buildVersion -Verbose

    .\package-all.ps1 -BuildVersion $buildVersion -Verbose
artifacts:
- path: src\artifacts\packages\*.nupkg
test_script:
- ps: >-
    $buildVersion = "alpha1-$env:APPVEYOR_BUILD_NUMBER"

    .\run-tests.ps1 -BuildVersion $buildVersion -Verbose

version: 1.0.{build}
branches:
  only:
  - development/r1.0
  - release/r1.0
image: Visual Studio 2015
install:
- cmd: >-
    set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
    
    dnvm install 1.0.0-rc1-update2 -r coreclr -arch x64 -nonative
cache: C:\Users\appveyor\.dnx\packages
build_script:
- ps: >-
    dnvm use 1.0.0-rc1-update2 -r coreclr -arch x64
    
    $buildVersion = "alpha1-$env:APPVEYOR_BUILD_NUMBER"

    .\restore-packages.ps1 -BuildVersion $buildVersion -Verbose

    .\build-all.ps1 -BuildVersion $buildVersion -Verbose

    .\package-all.ps1 -BuildVersion $buildVersion -Verbose
artifacts:
- path: src\artifacts\packages\Debug\*.nupkg
test_script:
- ps: >-
    $buildVersion = "alpha1-$env:APPVEYOR_BUILD_NUMBER"

    .\run-tests.ps1 -BuildVersion $buildVersion -Verbose

Update path for package artifacts.
Update path for package artifacts.
