Skip to content

Commit 6d50fab

Browse files
authored
Adds appveyor.yml (#275)
* added appveyor.yml * restore Parse.sln * clarify build * using just test_script * with build on Parse.sln * adding opencover * Custom build & test script to allow proper codecov during testing * arg fix * ammending target args * adds VS 2015 image and utilizes codecov * Updated readme badges * ignoring .idea/
1 parent a0f79fb commit 6d50fab

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

.appveyor.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: '1.7.{build}'
2+
image: Visual Studio 2015
3+
before_build:
4+
- nuget restore Parse.sln
5+
build_script:
6+
- msbuild /verbosity:quiet "Parse.sln"
7+
test_script:
8+
- .\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -target:nunit-console.exe -register:user -targetargs:""C:\projects\parse-sdk-dotnet\ParseAnalytics\Test\bin\Debug\ParseAnalytics.Test.Unit.NetFx45.dll" "C:\projects\parse-sdk-dotnet\ParseCommon\Test\bin\Debug\ParseCommon.Test.Unit.NetFx45.dll" "C:\projects\parse-sdk-dotnet\ParseCore\Test\bin\Debug\ParseTest.Unit.NetFx45.dll" "C:\projects\parse-sdk-dotnet\ParsePush\Test\bin\Debug\ParseTest.Unit.NetFx45.dll" /noshadow" -filter:"" -output:parse_sdk_dotnet_coverage.xml
9+
after_test:
10+
- ps: |
11+
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
12+
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
13+
bash codecov.sh -f "parse_sdk_dotnet_coverage.xml"

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,7 @@ Generated_Code #added for RIA/Silverlight projects
108108
# Visual Studio version. Backup files are not needed, because we have git ;-)
109109
_UpgradeReport_Files/
110110
Backup*/
111-
UpgradeLog*.XML
111+
UpgradeLog*.XML
112+
113+
# idea files
114+
.idea/

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Parse SDK for .NET
2-
[![AppVeyor Build][appveyor-svg]][appveyor-link]
3-
[![Coverage Status][coverall-svg]][coverall-link]
2+
[![Build status](https://ci.appveyor.com/api/projects/status/gbekejklsf9tn1fo?svg=true)](https://ci.appveyor.com/project/montymxb/parse-sdk-dotnet)
3+
[![codecov](https://codecov.io/gh/parse-community/Parse-SDK-dotNET/branch/master/graph/badge.svg)](https://codecov.io/gh/parse-community/Parse-SDK-dotNET)
44
[![Nuget][nuget-svg]][nuget-link]
55
[![License][license-svg]][license-link]
66

@@ -53,11 +53,7 @@ LICENSE file in the root directory of this source tree. An additional grant
5353
of patent rights can be found in the PATENTS file in the same directory.
5454
```
5555

56-
[appveyor-link]: https://ci.appveyor.com/project/ParseSDK/parse-sdk-dotnet
57-
[appveyor-svg]: https://ci.appveyor.com/api/projects/status/ri5jqgkv9hfkcrfl?svg=true
5856
[contributing]: https://github.com/ParsePlatform/Parse-SDK-dotNET/blob/master/CONTRIBUTING.md
59-
[coverall-link]: https://coveralls.io/github/ParsePlatform/Parse-SDK-dotNET?branch=master
60-
[coverall-svg]: https://coveralls.io/repos/ParsePlatform/Parse-SDK-dotNET/badge.svg?branch=master
6157
[license-svg]: https://img.shields.io/badge/license-BSD-lightgrey.svg
6258
[license-link]: https://github.com/ParsePlatform/Parse-SDK-dotNET/blob/master/LICENSE
6359
[nuget-link]: http://nuget.org/packages/parse

0 commit comments

Comments
 (0)