-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from wintoncode/cloud-build
Add travis and appveyor config.
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: csharp | ||
branches: | ||
except: | ||
- /^[0-9]/ | ||
env: | ||
global: | ||
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
- DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
matrix: | ||
include: | ||
- os: linux | ||
dotnet: 2.1.301 | ||
- os: osx | ||
osx_image: xcode9 # OSX 10.12 | ||
dotnet: 2.1.301 | ||
before_install: | ||
- ulimit -n 4096 | ||
script: | ||
- dotnet restore | ||
- dotnet build --configuration Release | ||
- dotnet test test/Winton.DomainModelling.AspNetCore.Tests/ --no-build --configuration Release --framework netcoreapp2.1 | ||
notifications: | ||
on_success: always | ||
on_failure: always | ||
on_start: always |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: '{build}' | ||
environment: | ||
CLI_VERSION: latest | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
image: Visual Studio 2017 | ||
configuration: | ||
- Release | ||
skip_tags: true | ||
before_build: | ||
- dotnet restore | ||
build_script: | ||
- msbuild /p:GetVersion=True /p:WriteVersionInfoToBuildLog=True | ||
test_script: | ||
- dotnet test test/Winton.DomainModelling.AspNetCore.Tests/ --no-build --configuration Release | ||
artifacts: | ||
- path: .\**\*.nupkg | ||
name: NuGet | ||
nuget: | ||
disable_publish_on_pr: true | ||
deploy: | ||
- provider: NuGet | ||
api_key: | ||
secure: vrX7uDkbJriNmYo0JBoY5/UZu22Cxx/a/omaF+X824kAMFvNXODTFPqXqT3le8Nu | ||
on: | ||
branch: | ||
- master | ||
- /release\/[0-9]\.[0-9]/ |