This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.84 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
addons:
snaps:
-
channel: latest/beta
classic: true
name: dotnet-sdk
branches:
only:
- master
dist: xenial
jobs:
include:
-
if: "tag IS present"
-
script:
- "sudo snap alias dotnet-sdk.dotnet dotnet"
- "dotnet build -c Release"
- "cd src/Infrastructure.Messaging && dotnet pack /p:PackageVersion=1.1.12 -c Release && cd bin/Release && dotnet nuget push Common.Infrastructure.Messaging.1.1.12.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json"
stage: dotnet-build-messaging
-
script:
- "sudo snap alias dotnet-sdk.dotnet dotnet"
- "dotnet build -c Release"
- "cd src/Infrastructure.Messaging.RabbitMQ && dotnet pack /p:PackageVersion=1.0.12 -c Release && cd bin/Release && dotnet nuget push Common.Infrastructure.Messaging.RabbitMQ.1.0.12.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json"
stage: dotnet-build-rabbit-mq
-
script:
- "sudo snap alias dotnet-sdk.dotnet dotnet"
- "dotnet build -c Release"
- "cd src/Infrastructure.Messaging.InMemory && dotnet pack /p:PackageVersion=1.0.12 -c Release && cd bin/Release && dotnet nuget push Common.Infrastructure.Messaging.InMemory.1.0.12.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json"
stage: dotnet-build-in-memory
-
script:
- "sudo snap alias dotnet-sdk.dotnet dotnet"
- "dotnet build -c Release"
- "cd src/Infrastructure.Messaging.Extensions.DependencyInjection && dotnet pack /p:PackageVersion=1.0.12 -c Release && cd bin/Release && dotnet nuget push Common.Infrastructure.Messaging.Extensions.DependencyInjection.1.0.12.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json"
stage: dotnet-build-dependency-injection
language: csharp
mono: none
sudo: required