-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (33 loc) · 746 Bytes
/
.travis.yml
File metadata and controls
34 lines (33 loc) · 746 Bytes
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
os:
- linux
- osx
language: csharp
mono: none
sudo: required
dist: xenial
dotnet: 2.2.104
addons:
apt:
packages:
appstream
script:
- dotnet restore
after_success:
- dotnet publish -c Release
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh release/release_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh release/release_nuget.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh release/release_macos.sh; fi
deploy:
provider: releases
api_key: $GITHUBOAUTH
file_glob: true
file:
- release/strans-linux.AppImage
- release/strans-macos.dmg
- bin/Release/netcoreapp2.2/strans.dll
- release/nupkg/strans.*.nupkg
skip_cleanup: true
draft: true
on:
tags: false
all_branches: true