Skip to content

Commit 614669b

Browse files
committed
Update Travis CI
1 parent 419142b commit 614669b

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

.travis.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,18 @@ git:
1919

2020
script:
2121
- dotnet restore
22-
- dotnet build --configuration Release --no-restore --verbosity minimal
23-
# - sonar-scanner
22+
- dotnet build --configuration release --no-restore --verbosity minimal
23+
- dotnet test --configuration release --no-restore --verbosity minimal
24+
25+
before_deploy:
26+
- dotnet pack --configuration release --verbosity minimal -p:PackageVersion=$TAG_NAME -p:RepositoryBranch=$TRAVIS_JOB_ID -p:RepositoryCommit=$TRAVIS_COMMIT -p:PackageOutputPath=../..
27+
28+
deploy:
29+
provider: releases
30+
api_key:
31+
secure: "cTfe+crP1MElj7/KDY1Kn86/oOK5n+9WnmNCDvLBOeaop4o1HKa4i76H4V+KCoPHqCHxrwCPdMmXSLtqp9GoFkZMmHbBsBKOGyDNyG6pE1AmUTLX897VgfdLiHfDIJsSu4rmOtdted5KTbqNdGjHll6CtZRS+PZ2dhW4NhenZtqnV/q9I9wjnWSUb+rTjZdexZKwiElpy/Dwdx2ZuWDsrnuQ8b8yRL+vNBp3LLvPYIsCZQFdpaM8f4u9cv7lzzcTnGZUJJtPOjyNnUDsH2EGLR3xyvP3GZcqnc6/aSKFvh0W82Mw+czqNW8yQVVZaUvABr8lwxTN2DWE18R561v7Y/JT7WMCLq0H1lVsBMeTfeTnSuMrZlYbunceHw1EOUwEzI4ywB97S5aistKvbUNZPvTFHvyCZGoWdDFqEEJX4xAUfKs0Fp3GsWgMz0USts+4rNiD8qFwyxxVBpR3kON1T7Nn2pGce3j72h3SCCZXruspsSHWXkiRjRTrAR+oxkHdp/nbjlGI8iE6/VichAb3c9PyWWyvhRsmfq+GuTLTRMYbw/w4BP1/kd4cnikzK1h6om4H8ZJM8jD7aolFMOt9W0EoTma8nwpffJoIeTXIf/PFvlhTraQhHHbceodBCyzcmykFI/KJXdYJc57NHDQj1yMqnlUV9HPtxfeWk0on21s="
32+
file:
33+
- "UnityContainerAttributeRegistration.nupkg"
34+
skip_cleanup: true
35+
on:
36+
tags: true

src/UnityContainerAttributeRegistration/UnityContainerAttributeRegistration.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<RootNamespace>UnityContainerAttributeRegistration</RootNamespace>
66
</PropertyGroup>
7+
8+
<PropertyGroup>
9+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
10+
<PackageId>UnityContainerAttributeRegistration</PackageId>
11+
<Title>UnityContainerAttributeRegistration</Title>
12+
<PackageDescription>Allows you to use a decorator to register types</PackageDescription>
13+
<PackageTags>Unity, dependency, injection, dependency-injection</PackageTags>
14+
<Copyright>Copyright © 2020 Darius Weber</Copyright>
15+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
16+
17+
<Authors>Darius Weber</Authors>
18+
<PackageProjectUrl>https://github.com/ManticSic/UnityContainerAttributeRegistration</PackageProjectUrl>
19+
<RepositoryUrl>https://github.com/ManticSic/UnityContainerAttributeRegistration</RepositoryUrl>
20+
<RepositoryType>git</RepositoryType>
21+
22+
<DevelopmentDependency>true</DevelopmentDependency>
23+
</PropertyGroup>
724

825
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
926
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

0 commit comments

Comments
 (0)