Skip to content

Commit

Permalink
Add some settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed May 28, 2018
1 parent 256f271 commit 96c0589
Show file tree
Hide file tree
Showing 6 changed files with 922 additions and 699 deletions.
49 changes: 22 additions & 27 deletions AppVeyor.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,38 @@
# --------------------------------------------------------------------------- #
# general configuration
# --------------------------------------------------------------------------- #
version: 2.0.0.{build}
branches:
except:
- net35
only:
- master
skip_tags: true

# --------------------------------------------------------------------------- #
# environment configuration
# --------------------------------------------------------------------------- #
clone_folder: C:\Cube\Cube.Pdf
image: Visual Studio 2017
nuget:
project_feed: true
disable_publish_on_pr: true

# --------------------------------------------------------------------------- #
# build configuration
# --------------------------------------------------------------------------- #
project_feed: true
disable_publish_on_pr: true
platform: Any CPU
configuration: Release
before_build:
- nuget sources add -name Cube.Core -source https://ci.appveyor.com/nuget/cube.core
- nuget sources add -name Cube.FileSystem -source https://ci.appveyor.com/nuget/cube.filesystem
- nuget sources add -name Cube.Images -source https://ci.appveyor.com/nuget/cube.images
- nuget sources add -name Cube.Forms -source https://ci.appveyor.com/nuget/cube.forms
- nuget restore Cube.Pdf.sln
build:
parallel: true
project: Cube.Pdf.sln
publish_nuget: true
verbosity: normal

# --------------------------------------------------------------------------- #
# tests configuration
# --------------------------------------------------------------------------- #
build:
parallel: true
project: Cube.Pdf.sln
publish_nuget: true
verbosity: minimal
test_script:
- ..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"Cube.Pdf.Tests.dll" -targetdir:".\Tests\bin\Release" -hideskipped:All -output:CoverResult.xml
- >
..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe
-register:user
-target:nunit3-console.exe
-targetargs:Cube.Pdf.Tests.dll
-targetdir:Tests\bin\Release
-returntargetcode
-hideskipped:All
-output:CoverResult.xml
-filter:"+[*]* -[AlphaFS]* -[*]*NativeMethods -[*]*Properties.*"
after_test:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "CoverResult.xml"

- codecov -f "CoverResult.xml"
3 changes: 1 addition & 2 deletions Libraries/Core/Cube.Pdf.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
<owners>$author$</owners>
<copyright>$copyright$</copyright>
<description>PDF library for CubeSoft applications.</description>
<releaseNotes>Private release.</releaseNotes>
<tags>Cube PDF</tags>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/License.txt</licenseUrl>
<projectUrl>https://github.com/cube-soft/Cube.Pdf</projectUrl>
<iconUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/Icon.png</iconUrl>
<iconUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/Icon.png?raw=true</iconUrl>
</metadata>
<files>
<file src="bin\Release\Cube.Pdf.dll" target="lib\net45" />
Expand Down
17 changes: 8 additions & 9 deletions Libraries/Itext/Cube.Pdf.Itext.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<licenseUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/License.txt</licenseUrl>
<projectUrl>https://github.com/cube-soft/Cube.Pdf</projectUrl>
<iconUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/Icon.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Cube PDF library for using iTextSharp.</description>
<releaseNotes>Private release.</releaseNotes>
<copyright>$copyright$</copyright>
<description>iTextSharp based PDF library for CubeSoft applications.</description>
<tags>Cube PDF iText</tags>
<dependencies>
<dependency id="iTextSharp" version="5.5.11" />
</dependencies>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/Libraries/Itest/License.txt</licenseUrl>
<projectUrl>https://github.com/cube-soft/Cube.Pdf</projectUrl>
<iconUrl>https://github.com/cube-soft/Cube.Pdf/blob/master/Icon.png?raw=true</iconUrl>
</metadata>
<files>
<file src="bin\Release\Cube.Pdf.Itext.dll" target="lib\net45" />
</files>
</package>
Loading

0 comments on commit 96c0589

Please sign in to comment.