forked from inferred/FreeBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 1.2 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
# sudo necessary for addons
sudo: required
dist: trusty
language: java
jdk: oraclejdk11
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)*(-\S*)?$/
install: ./gradlew clean shadowJar
script: ./gradlew check
env:
global:
- JAVA_8_HOME=$(jdk_switcher home oraclejdk8)
- JAVA_9_HOME=$(jdk_switcher home oraclejdk9)
- JAVA_10_HOME=$JAVA_HOME
- JAVA_11_HOME=$JAVA_HOME
- JAVA_HOME=$JAVA_8_HOME
- BINTRAY_USER=alicederyn
- BINTRAY_ORG=inferred
# BINTRAY_KEY
- secure: "Ci4GciF9lPGiR9GcJAoNcBE/nXuCXBzwUTvWB48r5p5Zuc+W7gRr6oP/l625Of/Du5kNLpyCBywD/lOX9VEMY51yHqE+2YFAg6yZ0pIRcrUxLA8YHDWXtbdzF/UvUMHqGkohQv1Tww/5Tookh8jAI/BUgVM2kTbK5t68GDlrpQU="
# OSS_USER
- secure: "1ibrm2LTiu98V/CEVEkxy+rmVu7fKJFWH/iHmrhzGmUhkjDjjCwzFL/zZRqBqgzgZH0mkZXusNvUFuwN0LuK+ZzhSdaiagq8SGg4U9xL6T02PUGkJFQwEUqkxYKNu5dBHruHyUZCvouizlk/3DTaFWaRvYXbeoeES5tXiSalT84="
# OSS_PASSWORD
- secure: "SaTDDaSV+CInR5IHaKzhAeNOblIFQ5qnLAdrFrRCYlneSfqQxEQWaIxuGqwOQITYLKIBIdPSn5dWRwQaJXJM+6BKDcckRs4cvVAWRtWQi0H8Uedztjr2/yV1301lKvEptxNkzMsXDbgqbSOLmMCOUHeGq2OO66bUhvsep6SINIM="
deploy:
skip_cleanup: true
provider: script
script: ./gradlew bintrayUpload --stacktrace --info
on:
tags: true