Skip to content

Commit 6df48cd

Browse files
authored
Enable linux configuration in AppVeyor (#415)
* Enable linux configuration in AppVeyor * Add explicit NuGet restore * Deploy only from Windows job * Delete .travis.yml
1 parent 45ee947 commit 6df48cd

File tree

2 files changed

+30
-32
lines changed

2 files changed

+30
-32
lines changed

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

appveyor.yml

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
image: Visual Studio 2017
1+
image:
2+
- Visual Studio 2017
3+
- Ubuntu
4+
25
configuration: Release
36

47
skip_branch_with_pr: true
@@ -12,37 +15,41 @@ branches:
1215
environment:
1316
INHERITDOC_VERSION: 1.2.2.1
1417
TEMP_DIR: c:\temp
18+
APPVEYOR_YML_DISABLE_PS_LINUX: true
1519

1620
install:
1721
# Temporarily install InheritDoc using the NuGet CLI
18-
- nuget install inheritdoc -Version %INHERITDOC_VERSION% -OutputDirectory %TEMP_DIR%
22+
- cmd: nuget install inheritdoc -Version %INHERITDOC_VERSION% -OutputDirectory %TEMP_DIR%
1923

20-
before_build:
24+
before_build:
2125
- nuget restore
22-
26+
2327
build:
2428
publish_nuget: true
2529

2630
before_package:
2731
# This step replaces the inheritdoc tags in the xml documentation with documentation from mscorlib.xml
2832
- ps: '& $env:TEMP_DIR\InheritDoc.$env:INHERITDOC_VERSION\tools\InheritDoc.exe -b $env:APPVEYOR_BUILD_FOLDER -g "c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.X\mscorlib.xml" -o'
2933

30-
deploy:
31-
- provider: NuGet
32-
api_key:
33-
secure: z0Zh4VyDdeKlFrTEnYbhqDc0xw9M5ahv/fQJsShk3HqmUWjQ/bh4M/r6ZWZgY/ZB
34-
skip_symbols: false
35-
artifact: /.*\.nupkg/
36-
on:
37-
branch: master
38-
39-
- provider: GitHub
40-
tag: v$(appveyor_build_version)
41-
prerelease: true
42-
artifact: /.*\.nupkg/
43-
auth_token:
44-
secure: Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
45-
on:
46-
branch: master
47-
48-
34+
for:
35+
-
36+
matrix:
37+
only:
38+
- image: Visual Studio 2017
39+
deploy:
40+
- provider: NuGet
41+
api_key:
42+
secure: z0Zh4VyDdeKlFrTEnYbhqDc0xw9M5ahv/fQJsShk3HqmUWjQ/bh4M/r6ZWZgY/ZB
43+
skip_symbols: false
44+
artifact: /.*\.nupkg/
45+
on:
46+
branch: master
47+
48+
- provider: GitHub
49+
tag: v$(appveyor_build_version)
50+
prerelease: true
51+
artifact: /.*\.nupkg/
52+
auth_token:
53+
secure: Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
54+
on:
55+
branch: master

0 commit comments

Comments
 (0)