Skip to content

Commit

Permalink
Enable linux configuration in AppVeyor (#415)
Browse files Browse the repository at this point in the history
* Enable linux configuration in AppVeyor

* Add explicit NuGet restore

* Deploy only from Windows job

* Delete .travis.yml
  • Loading branch information
fgreinacher authored Dec 1, 2018
1 parent 45ee947 commit 6df48cd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 32 deletions.
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

53 changes: 30 additions & 23 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
image: Visual Studio 2017
image:
- Visual Studio 2017
- Ubuntu

configuration: Release

skip_branch_with_pr: true
Expand All @@ -12,37 +15,41 @@ branches:
environment:
INHERITDOC_VERSION: 1.2.2.1
TEMP_DIR: c:\temp
APPVEYOR_YML_DISABLE_PS_LINUX: true

install:
# Temporarily install InheritDoc using the NuGet CLI
- nuget install inheritdoc -Version %INHERITDOC_VERSION% -OutputDirectory %TEMP_DIR%
- cmd: nuget install inheritdoc -Version %INHERITDOC_VERSION% -OutputDirectory %TEMP_DIR%

before_build:
before_build:
- nuget restore

build:
publish_nuget: true

before_package:
# This step replaces the inheritdoc tags in the xml documentation with documentation from mscorlib.xml
- 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'

deploy:
- provider: NuGet
api_key:
secure: z0Zh4VyDdeKlFrTEnYbhqDc0xw9M5ahv/fQJsShk3HqmUWjQ/bh4M/r6ZWZgY/ZB
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master

- provider: GitHub
tag: v$(appveyor_build_version)
prerelease: true
artifact: /.*\.nupkg/
auth_token:
secure: Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
on:
branch: master


for:
-
matrix:
only:
- image: Visual Studio 2017
deploy:
- provider: NuGet
api_key:
secure: z0Zh4VyDdeKlFrTEnYbhqDc0xw9M5ahv/fQJsShk3HqmUWjQ/bh4M/r6ZWZgY/ZB
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master

- provider: GitHub
tag: v$(appveyor_build_version)
prerelease: true
artifact: /.*\.nupkg/
auth_token:
secure: Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
on:
branch: master

0 comments on commit 6df48cd

Please sign in to comment.