forked from icsharpcode/SharpZipLib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added .travis.yml as second CI source * Expanded appveyor.yml with more build settings * Added travis badge next to appveyor badge * Updated settings in ICSharpCode.SharpZipLib.Tests.csproj and ICSharpCode.SharpZipLib.sln to support automated testing on travis
- Loading branch information
Showing
6 changed files
with
186 additions
and
102 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,13 @@ | ||
language: csharp | ||
mono: | ||
- latest | ||
- 3.12.0 | ||
- 3.10.0 | ||
- 2.10.8 | ||
solution: ICSharpCode.SharpZipLib.sln | ||
install: | ||
- nuget restore ICSharpCode.SharpZipLib.sln | ||
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner | ||
script: | ||
- xbuild /p:Configuration=Release ICSharpCode.SharpZipLib.sln | ||
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./ICSharpCode.SharpZipLib.Tests/bin/Release/ICSharpCode.SharpZipLib.Tests.dll |
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
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
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
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
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 |
---|---|---|
@@ -1,9 +1,121 @@ | ||
# Notes: | ||
# - Minimal appveyor.yml file is an empty file. All sections are optional. | ||
# - Indent each level of configuration with 2 spaces. Do not use tabs! | ||
# - All section names are case-sensitive. | ||
# - Section names should be unique on each level. | ||
|
||
#---------------------------------# | ||
# general configuration # | ||
#---------------------------------# | ||
|
||
# version format | ||
version: 0.87.{build} | ||
configuration: Debug | ||
|
||
# you can use {branch} name in version format too | ||
# version: 1.0.{build}-{branch} | ||
|
||
# branches to build | ||
branches: | ||
# whitelist | ||
only: | ||
- build | ||
|
||
# Do not build on tags (GitHub only) | ||
skip_tags: true | ||
|
||
#---------------------------------# | ||
# environment configuration # | ||
#---------------------------------# | ||
|
||
# Operating system (build VM template) | ||
image: | ||
- Visual Studio 2015 | ||
- Visual Studio 2013 | ||
|
||
# build cache to preserve files/folders between builds | ||
cache: | ||
- packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified | ||
|
||
#---------------------------------# | ||
# build configuration # | ||
#---------------------------------# | ||
|
||
# build platform, i.e. x86, x64, Any CPU. This setting is optional. | ||
platform: Any CPU | ||
before_build: | ||
- nuget restore ICSharpCode.SharpZipLib.sln | ||
|
||
# to add several platforms to build matrix: | ||
#platform: | ||
# - x86 | ||
# - Any CPU | ||
|
||
# build Configuration, i.e. Debug, Release, etc. | ||
#configuration: Release | ||
|
||
# to add several configurations to build matrix: | ||
configuration: | ||
- Debug | ||
- Release | ||
|
||
assembly_info: | ||
patch: true | ||
file: '**\AssemblyInfo.*' | ||
assembly_version: '{version}' | ||
assembly_file_version: '{version}' | ||
assembly_informational_version: '{version}' | ||
|
||
build: | ||
project: ICSharpCode.SharpZipLib.sln | ||
publish_nuget: true | ||
publish_nuget_symbols: true | ||
include_nuget_references: true | ||
parallel: true | ||
verbosity: detailed | ||
verbosity: normal | ||
|
||
# scripts to run before build | ||
before_build: | ||
- cmd: nuget restore ICSharpCode.SharpZipLib.sln | ||
|
||
#---------------------------------# | ||
# tests configuration # | ||
#---------------------------------# | ||
|
||
#---------------------------------# | ||
# artifacts configuration # | ||
#---------------------------------# | ||
|
||
artifacts: | ||
- path: bin\Debug\ICSharpCode.SharpZipLib.dll | ||
name: Debug | ||
- path: bin\Debug\ICSharpCode.SharpZipLib.pdb | ||
name: Debug | ||
- path: bin\Release\ICSharpCode.SharpZipLib.dll | ||
name: Release | ||
- path: bin\Release\ICSharpCode.SharpZipLib.pdb | ||
name: Release | ||
|
||
#---------------------------------# | ||
# deployment configuration # | ||
#---------------------------------# | ||
|
||
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment | ||
# provider names are case-sensitive! | ||
|
||
#---------------------------------# | ||
# global handlers # | ||
#---------------------------------# | ||
|
||
#---------------------------------# | ||
# notifications # | ||
#---------------------------------# | ||
|
||
notifications: | ||
|
||
- provider: Email | ||
to: | ||
- mcneight+appveyor@gmail.com | ||
subject: 'Build {{status}}' # optional | ||
message: "{{message}}, {{commitId}}, ..." # optional | ||
on_build_success: true | ||
on_build_failure: true | ||
on_build_status_changed: true |