Skip to content

Commit

Permalink
Merge pull request #1 from wintoncode/cloud-build
Browse files Browse the repository at this point in the history
Add travis and appveyor config.
  • Loading branch information
iscottb122 authored Jul 6, 2018
2 parents c4cc734 + 347e96b commit ae3798a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
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
28 changes: 28 additions & 0 deletions appveyor.yml
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]/

0 comments on commit ae3798a

Please sign in to comment.