Skip to content

Commit

Permalink
Update travis-ci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualEvan committed Mar 13, 2019
1 parent da4593b commit 9013bee
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ bld/
[Oo]bj/
[Ll]og/

# Build libraries
[Ll]ib/

# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
Expand Down
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: csharp
solution: updates.sln
script:
- wget -P updates/lib/ https://github.com/cern-winagent/plugin/releases/latest/download/plugin.dll
- msbuild /p:Configuration=Release updates.sln
before_deploy:
- sha1sum updates/bin/Release/updates.dll > updates/bin/Release/updates.dll.sha1
deploy:
provider: releases
api_key:
secure: lPn+K4vFcf5QRiYQe8lsFclJZLnHtyy3COqD2bXHpFcwWYaBY/TJPx7D04v9J2d0ud++mxV62ChB8E1uXLGeiEOkiSStpvaTxSdliQtGbrn5f8fDKzsqGQ+wcw9jz1pfvvzvLCRfxCPmyNbwhQRhS7dopV8lY7gK3/88V239vj6qB2d0S9kyiLdkOVFrPA4AXMlcK7JDYsNeMx8vEKgdpXb+CPVqFhX4i0HziUkkfhod1DtVOkDhRHlSQJiQXLR9FRqQCbx8s0jEbacwAOhnQ56BMtjAnN0xfaCTtNI29XoLAynC0855RM1dma0WWz5PRRB1L86nI+bL4B1/2WtPkhSu+kzrbGgjmcUL1Na1iHwQ6Jzu7Jsvu8gWbhEydR9xbUQH1Usrj6Oaz5pFT/VoB87CJdFEcm8pi3yOb/51zI8g8rFP49V134QaaoGxpuuDIbtMILwlyxIGv4371SShGEgO3xnwLIJhBPeBiDtx6H+9Sg0X8mTZO2tkE7gCNArcfk65th6OChgwBJ8qVpC24XQ7ktTl9uPZS1iXrmgh8x1FGaaLagFvStnhyQIt5OJbgH1eZphRX+BplLf2UVAe0cyzMLTSwVFoaAE4sBywl8CRPYdi1abfAAXqdt0HzdWMqlLJgQeSp9OF7L49DjUITR6RYytlCwR6ZnLCDhGTrCM=
file:
- updates/bin/Release/updates.dll
- updates/bin/Release/updates.dll.sha1
skip_cleanup: true
overwrite: true
on:
repo: cern-winagent/updates
tags: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# IUpdates
# Updates
Checks Windows updates using WUApiLib
5 changes: 5 additions & 0 deletions updates.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Debug|Any CPU.Build.0 = Release|Any CPU
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Debug|x64.ActiveCfg = Debug|x64
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Debug|x64.Build.0 = Debug|x64
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Release|Any CPU.Build.0 = Release|Any CPU
{7CBF534F-0A59-4C9B-906B-A2BB812C7776}.Release|x64.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
13 changes: 11 additions & 2 deletions updates/updates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,21 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="plugin">
<HintPath>..\..\plugin\plugin\bin\Release\plugin.dll</HintPath>
<Reference Include="plugin, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>lib\plugin.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down

0 comments on commit 9013bee

Please sign in to comment.