This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (44 loc) · 2.3 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
43
44
45
46
language: csharp
mono: none
sudo: required
dist: xenial
dotnet: 3.0.100
before_install:
- sudo apt-get install -y libunwind8
addons:
apt:
update: true
script:
- cd VectorContainers
- dotnet restore VectorContainers.sln
- wget https://download.octopusdeploy.com/octopus-tools/4.45.0/OctopusTools.4.45.0.ubuntu.16.04-x64.tar.gz
- tar -xvzf OctopusTools.4.45.0.ubuntu.16.04-x64.tar.gz
- dotnet publish TGMGateway --output publish --configuration Release
- ./Octo pack --id Tangram.Gateway --version 1.$TRAVIS_JOB_NUMBER --basePath "TGMGateway/publish"
- ./Octo push --package=Tangram.Gateway.1.$TRAVIS_JOB_NUMBER.nupkg
- dotnet publish Coin.API --output publish --configuration Release
- ls /home/travis/build/tangramproject/Vector/VectorContainers
- ls /home/travis/build/tangramproject/Vector/VectorContainers/publish
- ls /home/travis/build/tangramproject/Vector/VectorContainers/publish/Coin.API
- ./Octo pack --id Tangram.Coin.API --version 1.$TRAVIS_JOB_NUMBER --basePath "Coin.API/publish"
- ./Octo push --package=Tangram.Coin.API.1.$TRAVIS_JOB_NUMBER.nupkg
- dotnet publish MessagePool.API --output publish --configuration Release
- ./Octo pack --id Tangram.MessagePool.API --version 1.$TRAVIS_JOB_NUMBER --basePath "MessagePool.API/publish"
- ./Octo push --package=Tangram.MessagePool.API.1.$TRAVIS_JOB_NUMBER.nupkg
- dotnet publish Onion.API --output publish --configuration Release
- ./Octo pack --id Tangram.Onion.API --version 1.$TRAVIS_JOB_NUMBER --basePath "Onion.API/publish"
- ./Octo push --package=Tangram.Onion.API.1.$TRAVIS_JOB_NUMBER.nupkg
- dotnet publish Membership.API --output publish --configuration Release
- ./Octo pack --id Tangram.Membership.API --version 1.$TRAVIS_JOB_NUMBER --basePath "Membership.API/publish"
- ./Octo push --package=Tangram.Membership.API.1.$TRAVIS_JOB_NUMBER.nupkg
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
- DOTNET_CLI_TELEMETRY_OPTOUT=1
after_success:
#- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
#- chmod +x send.sh
#- ./send.sh success $WEBHOOK_URL
after_failure:
#- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
#- chmod +x send.sh
#- ./send.sh failure $WEBHOOK_URL