-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed3f58b
commit a9009fd
Showing
3 changed files
with
1,569 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
build_script: | ||
- ps: .\build.ps1 | ||
branches: | ||
only: | ||
- master | ||
- master | ||
before_build: | ||
- nuget restore | ||
build_script: | ||
- msbuild /verbosity:quiet "Finance.sln" | ||
test_script: | ||
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"packages\xunit.runner.console.2.2.0\tools\xunit.console.x86.exe" -targetargs:"test\Finance.Domain.Tests\bin\Debug\tests.dll -noshadow" -output:".\coverage.xml" -filter:"+[Finance.Domain*]* -[Finance.Domain.Tests*]*" | ||
# use codecov bash script. Requires powershell and bash to be installed, which both are on the AppVeyor machine image | ||
after_test: | ||
- ps: | | ||
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH | ||
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh | ||
bash codecov.sh -f "coverage.xml" | ||
# use codecov python package. Requires python to be available, which it is on AppVeyor machine image, and then we have to install the codecov package | ||
#after_test: | ||
#- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" | ||
#- pip install codecov | ||
#- codecov -f "coverage.xml" |
Oops, something went wrong.