-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold-travis
39 lines (32 loc) · 1017 Bytes
/
old-travis
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
os: linux
dist: bionic # Ubuntu 18.04
language: clojure
services:
- xvfb
jdk:
- openjdk11
- openjdk14
script: ./run-tests.sh
jobs:
include:
# run the release stage
# when the branch being tested is 'master'
# and the revision has been tagged
-
stage: release
jdk: openjdk14
if: tag IS present
script: ./release.sh
deploy:
provider: releases
token: $GITHUB_TOKEN
skip_cleanup: true
file_glob: true
file:
- "target/strongbox-*-standalone.jar" # target/strongbox-1.1.1-standalone.jar
- "target/strongbox-*-standalone.jar.sha256" # target/strongbox-1.1.1-standalone.jar.sha256
- "target/strongbox"
- "target/strongbox.sha256"
# redundant if "if: tag is present" ?
on:
tags: true