mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2026-02-04 15:52:52 +00:00
add appveyor.yml
This commit is contained in:
67
appveyor.yml
Normal file
67
appveyor.yml
Normal file
@@ -0,0 +1,67 @@
|
||||
version: '1.0.{build}'
|
||||
|
||||
image: Visual Studio 2017
|
||||
|
||||
branches:
|
||||
|
||||
only:
|
||||
|
||||
- master
|
||||
|
||||
init:
|
||||
|
||||
# Good practise, because Windows line endings are different from Unix/Linux ones
|
||||
|
||||
- cmd: git config --global core.autocrlf true
|
||||
|
||||
install:
|
||||
|
||||
# Install repo specific stuff here
|
||||
|
||||
before_build:
|
||||
|
||||
# Display .NET Core version
|
||||
|
||||
- cmd: dotnet --version
|
||||
|
||||
# Display minimal restore text
|
||||
|
||||
- cmd: dotnet restore ./src/src.csproj --verbosity m
|
||||
|
||||
build_script:
|
||||
|
||||
# output will be in ./src/bin/debug/netcoreapp1.1/publish
|
||||
|
||||
- cmd: dotnet publish ./Sharp7.Rx/Sharp7.Rx.csproj
|
||||
|
||||
after_build:
|
||||
|
||||
# For once the build has completed
|
||||
|
||||
artifacts:
|
||||
|
||||
- path: '\src\bin\Debug\netcoreapp1.1\publish'
|
||||
|
||||
name: Sharp.Rx
|
||||
|
||||
type: WebDeployPackage
|
||||
|
||||
clone_depth: 1
|
||||
|
||||
test_script:
|
||||
|
||||
# restore packages for our unit tests
|
||||
|
||||
- cmd: dotnet restore ./tests/tests.csproj --verbosity m
|
||||
|
||||
# run the unit tests (requires changing into the test directory)
|
||||
|
||||
- cmd: cd tests
|
||||
|
||||
- cmd: dotnet xunit
|
||||
|
||||
on_finish :
|
||||
|
||||
# any cleanup in here
|
||||
|
||||
deploy: off
|
||||
Reference in New Issue
Block a user