Skip to content

Commit

Permalink
Configure for appveyor.
Browse files Browse the repository at this point in the history
  • Loading branch information
atheken committed Aug 3, 2015
1 parent 67e4ce1 commit 79e8a86
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,5 @@ FakesAssemblies/

# Visual Studio 6 workspace options file
*.opt

*.nupkg
20 changes: 20 additions & 0 deletions CssInliner/CssInliner.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>CssInliner</id>
<version>$version$</version>
<title>CSS Inliner</title>
<authors>Wildbit,LLC</authors>
<owners>wildbit,atheken</owners>
<licenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</licenseUrl>
<projectUrl>https://github.com/wildbit/css-inliner</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A powerful, simple, CSS Inliner.</description>
<copyright>Copyright 2015</copyright>
<tags>CSS HTML</tags>
</metadata>
<dependencies>
<dependency id="CsQuery" version="1.3.4" />
<dependency id="ExCSS" version="2.0.5" />
</dependencies>
</package>
52 changes: 52 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
version: 1.0.{build}

branches:
except:
- gh-pages

os: Windows Server 2012

assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "1.0.{build}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"

nuget:
account_feed: true
project_feed: true

platform: Any CPU
configuration: Release

build:
project: ./CssInliner.sln
# quiet|minimal|normal|detailed
verbosity: normal

test:
assemblies:
- '**\*.Tests.dll'

after_test:
- ps: nuget.exe pack ./CssInliner/CssInliner.nuspec -Version $env:APPVEYOR_BUILD_VERSION

artifacts:
- path: '*.nupkg'

deploy:
# Deploying to NuGet feed
- provider: NuGet
api_key:
secure: sKvwxg5DmHjLtvBb0YEo9M+JYle83QWCDiGWfWOGOP6mQflp48qg1C5MJeNCw9cE
skip_symbols: true
on:
appveyor_repo_tag: true

notifications:
# HipChat
- provider: HipChat
auth_token:
secure: OqT/6oTT5wCUSt4rajfZ/Ye1K0lz8nUJzj2KFtoIwmMo6QtjSuGIhf/RGIu0uXIr
room: Postmark

0 comments on commit 79e8a86

Please sign in to comment.