Skip to content

Commit

Permalink
Add CI build config
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz committed Feb 23, 2018
1 parent a649567 commit bcde3ca
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Fizzler.Systems.HtmlAgilityPack.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Fizzler.Systems.HtmlAgilityPack</id>
<version>1.1.0</version>
<version>1.1.0$VersionSuffix$</version>
<title>Fizzler for HTML Agility Pack</title>
<authors>Atif Aziz, Colin Ramsay</authors>
<owners>Atif Aziz</owners>
Expand Down
2 changes: 1 addition & 1 deletion Fizzler.Tools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Fizzler.Tools</id>
<version>1.1.0</version>
<version>1.1.0$VersionSuffix$</version>
<title>Fizzler Tools</title>
<authors>Atif Aziz</authors>
<owners>Atif Aziz</owners>
Expand Down
2 changes: 1 addition & 1 deletion Fizzler.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Fizzler</id>
<version>1.1.0</version>
<version>1.1.0$VersionSuffix$</version>
<title>Fizzler</title>
<authors>Atif Aziz, Colin Ramsay</authors>
<owners>Atif Aziz</owners>
Expand Down
37 changes: 37 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: '{build}'
image: Visual Studio 2017
branches:
except:
- /.+[\-.]wip$/
- wip
pull_requests:
do_not_increment_build_number: true
skip_commits:
files:
- '*.md'
- '*.txt'
- '.editorconfig'
build_script:
- ps: >-
$id = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP -replace '([-:]|\.0+Z)', ''
$id = $id.Substring(0, 13)
.\pack.cmd ci-$id
artifacts:
- path: dist\*.nupkg
deploy:
- provider: NuGet
server: https://www.myget.org/F/raboof/api/v2/package
api_key:
secure: fhGwXyO35FSshRzs5GWmF1LJTrd1sIqmS/jNCSfO2LfOciuYAKiXuFMYZFGiTAl+
symbol_server: https://www.myget.org/F/raboof/symbols/api/v2/package
on:
branch: master
notifications:
- provider: Email
to:
- [email protected]
on_build_success: true
on_build_failure: true
on_build_status_changed: false
1 change: 1 addition & 0 deletions pack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ goto :EOF
if not exist dist md dist
if not %errorlevel%==0 exit /b %errorlevel%
set nupack=.nuget\NuGet pack -OutputDirectory dist
if not "%1"=="" set nupack=%nupack% -Properties VersionSuffix=-%1
call build /v:m ^
&& %nupack% -Symbols Fizzler.nuspec ^
&& %nupack% -Symbols Fizzler.Systems.HtmlAgilityPack.nuspec ^
Expand Down

0 comments on commit bcde3ca

Please sign in to comment.