-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
54 lines (43 loc) · 904 Bytes
/
.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
47
48
49
50
51
52
53
54
language: java
os: linux
dist: bionic
jdk:
- openjdk11
jobs:
include:
- os: linux
env:
- HOST="linux"
before_install:
- chmod +x ./gradlew
script:
- ./gradlew distZip -PHOST=$HOST
- os: windows
env:
- HOST="win64"
script:
- gradlew.bat distZip -PHOST=%HOST%
- os: osx
env:
- HOST="darwin"
before_install:
- chmod +x ./gradlew
script:
- ./gradlew distZip -PHOST=$HOST
before_deploy:
- git config --local user.name "Antonino Natale"
- git config --local user.email "antonio.natale97@hotmail.com"
- export TRAVIS_TAG=v1.0.$(date +'%Y%m%d')
- git tag $TRAVIS_TAG
deploy:
provider: releases
token:
"$GH_TOKEN"
file:
"build/distributions/*.zip"
overwrite: true
draft: false
edge: true
on:
repo: nefele-org/nefele-desktop
tags: false