Skip to content

Commit 1a011de

Browse files
committed
Update build scripts
1 parent 731dabe commit 1a011de

File tree

2 files changed

+33
-11
lines changed

2 files changed

+33
-11
lines changed

.appveyor.yml

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ assembly_info:
77

88
# Build script
99
version: '{build}'
10+
1011
image: Previous Visual Studio 2017
1112
os: Previous Visual Studio 2017
1213

@@ -75,27 +76,48 @@ test: off
7576
#---------------------------------#
7677

7778
artifacts:
78-
- path: 'artifacts\Nugets\**\*.nupkg'
79-
- path: 'build\**\*.zip'
79+
# Store NuGet packages
80+
- path: .\Artifacts\**\*.nupkg
81+
name: NuGet
82+
# Store xUnit Test Results
83+
- path: .\Artifacts\**\*.trx
84+
name: xUnit Test Results
85+
8086

8187
#---------------------------------#
8288
# deployment configuration #
8389
#---------------------------------#
8490

8591
deploy:
86-
- provider: GitHub
92+
- provider: GitHub
8793
auth_token:
8894
secure: xxx
8995
artifact: /.*\.zip/
9096
draft: true
9197
on:
9298
appveyor_repo_tag: true
93-
94-
- provider: NuGet
95-
api_key:
96-
secure: xxx
97-
on:
98-
appveyor_repo_tag: true
99+
# Publish MyGet packages
100+
- provider: NuGet
101+
name: development
102+
server: https://www.myget.org/F/courio-dev/api/v2/package
103+
api_key:
104+
secure: 9uzkCroixqPrC9das6F7wx42qI+xXhfz+L0Bu4XPwxmIh8f+UrZGUEBwvsOrKzeg
105+
skip_symbols: true
106+
on:
107+
# Only publish from the master branch
108+
branch: master
109+
# Publish NuGet packages
110+
- provider: NuGet
111+
name: production
112+
api_key:
113+
secure: hd7kH5D5DJr+IpC+9zAklVm9r5Pm0Ku0RbMaA7DmReouBhExmFBPTVe+rWtl9zRa
114+
on:
115+
# Only publish from the master branch
116+
branch: master
117+
# Only publish if the trigger was a Git tag
118+
# git tag v0.1.0-beta
119+
# git push origin --tags
120+
appveyor_repo_tag: true
99121

100122
#---------------------------------#
101123
# cache configuration #

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ addons:
1717
- zlib1g
1818

1919
# .NET CLI requires OSX 10.11
20-
osx_image: xcode7.2
20+
osx_image: xcode8.3
2121

2222
# Ensure that .NET Core is installed
23-
dotnet: 2.1.300
23+
dotnet: 2.1.301
2424
# dotnet: 2.1.300-preview1-008174
2525
# sudo apt-get install apt-transport-https
2626
# sudo apt-get update

0 commit comments

Comments
 (0)