version: 1.14.0.{build}
branches:
    only:
        - master
skip_tags: true
clone_folder: C:\Cube\Cube.FileSystem
image: Visual Studio 2017
nuget:
    project_feed: true
    disable_publish_on_pr: true
platform: Any CPU
configuration: Release
before_build:
    - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
    - nuget sources add -name Cube.Core -source https://ci.appveyor.com/nuget/cube.core
    - nuget restore Cube.FileSystem.sln
build:
    parallel: true
    project: Cube.FileSystem.sln
    publish_nuget: true
    verbosity: minimal
test_script:
    - >
      ..\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe
      -log:Error
      -register:user
      -target:nunit3-console.exe
      -targetargs:Cube.FileSystem.Tests.dll
      -targetdir:Tests\bin\Release
      -returntargetcode
      -hideskipped:All
      -output:CoverResults.xml
      -filter:"+[Cube*]* -[*]*NativeMethods -[*]*Properties.*"
after_test:
    - xcopy /q /Y /I Tests\bin\Release\Cube.FileSystem.Tests.log TestLog\
    - xcopy /q /Y /I CoverResults.xml TestLog\
    - pip install codecov
    - codecov -f CoverResults.xml
artifacts:
    - path: TestLog

version: 1.14.0.{build}
branches:
    only:
        - master
skip_tags: true
clone_folder: C:\Cube\Cube.FileSystem
image: Visual Studio 2017
nuget:
    project_feed: true
    disable_publish_on_pr: true
platform: Any CPU
configuration: Release
before_build:
    - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
    - nuget sources add -name Cube.Core -source https://ci.appveyor.com/nuget/cube.core
    - nuget restore Cube.FileSystem.sln
build:
    parallel: true
    project: Cube.FileSystem.sln
    publish_nuget: true
    verbosity: minimal
test_script:
    - >
      ..\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe
      -log:Error
      -register:user
      -target:../packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe
      -targetargs:Cube.FileSystem.Tests.dll
      -targetdir:Tests\bin\Release
      -returntargetcode
      -hideskipped:All
      -output:CoverResults.xml
      -filter:"+[Cube*]* -[*]*NativeMethods -[*]*Properties.*"
after_test:
    - xcopy /q /Y /I Tests\bin\Release\Cube.FileSystem.Tests.log TestLog\
    - xcopy /q /Y /I CoverResults.xml TestLog\
    - pip install codecov
    - codecov -f CoverResults.xml
artifacts:
    - path: TestLog

Fix to use latest NUnit.
Fix to use latest NUnit.
