1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-09 03:00:41 +03:00

travis-ci: setup releases from tags

This commit is contained in:
Ilya Shipitsin 2018-09-26 07:21:49 +05:00
parent 33f5de78ba
commit 433c72e978

View File

@ -20,7 +20,8 @@ matrix:
- env: OPENSSL_VERSION="1.1.0f" - env: OPENSSL_VERSION="1.1.0f"
os: linux os: linux
compiler: clang compiler: clang
- os: linux - env: LABEL="check stb files"
os: linux
language: csharp language: csharp
mono: none mono: none
dotnet: 2.1.300 dotnet: 2.1.300
@ -31,6 +32,22 @@ matrix:
script: script:
- cd developer_tools/stbchecker - cd developer_tools/stbchecker
- dotnet run ../../src/bin/hamcore - dotnet run ../../src/bin/hamcore
- env: LABEL="create release from tag"
os: linux
deploy:
provider: releases
api_key: ${GITHUB_OAUTH_TOKEN}
file: se.tar.gz
skip_cleanup: true
on:
tags: true
repo: SoftEtherVPN/SoftEtherVPN
before_install:
- true
before_script:
- if [ -z "$TRAVIS_TAG" ]; then exit 0; fi
script:
- true
- os: osx - os: osx
compiler: clang compiler: clang
cache: cache: