forked from hivemq/hivemq-community-edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 1.4 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
language: java
# workaround as openjdk11 can not be installed https://travis-ci.community/t/install-of-openjdk11-is-failing-again/3061/16
dist: xenial
jdk:
- openjdk11
stages:
- test
- build
jobs:
include:
- stage: test
script: ./gradlew test
- stage: build
script: ./gradlew packaging
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_deploy:
- ./gradlew clean
- ./gradlew packaging
deploy:
provider: releases
api_key:
secure: "C9pHI53AodsU/jJDYurCn1gENWJTTuo62MrfFSEA68MylXywuIYaO3AZtQAscFCDSfHWeSdanIfB/TpnpIc1Y/lj7hXdSI1eid1xtbbSXkAQCMj4zjUBmZiPO415Ic+VSNETCP0NPDCkmJckolKBdUWhM7zAO+8N4SCs0Qz4N/Iy3QgFaHU0/QfXgnW4v8OS/7Or59etMyDklbqwR250tAOlkmx6ywzDo0BMMfo2pBu8HfZSEG+E07Sr7QJUwXQ+1pCReCga+2bW2+qRYwU6gzPGktg+g+fS0b9tLJUUi1hp7MEEHG4pdajINdGi1PklucBbnBNeCJyIZgfgBwbaBUiceAJkWxGEm3eZy6ueAFPhaEXcZH9hdncRHNX9UFy+PLLA03HA1icLIW8fESdr1keuHKDFSIWvxU9UcnSzHAVXTGKzeuOsDjP/YSy/RSSPlVCiqQjKB5Ld1D8IKytUs0h3Vg+T60G+6hhOxREg5XRAH+jC/o7Ojh1v2fQ8Ty1mFMRBxYTAjdRQgocvJ+FIToH2tx/f5Fp+Ij73CO0RC+L87QgpOwvxQ6pqEjrnEDw8/MpChxugsIHW7OJO2yCKgiTr0FBxsaWZbvLVoJV4uXjjbQuceeh6I/xwn78jrP07r0D5o8E380g6OYMhEne0qo8Fw6J6NT3MMPMPdFaCOYE="
file: "build/zip/hivemq-*.zip"
file_glob: true
skip_cleanup: true
draft: false
on:
tags: true