forked from resilience4j/resilience4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (31 loc) · 2.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
dist: trusty
language: java
os: linux
jobs:
include:
- jdk: oraclejdk8
env: PUBLISH=true
#- jdk: openjdk11
before_install:
- chmod +x gradlew
after_success:
- if [ -n "$SONAR_TOKEN" ]; then ./gradlew sonarqube; fi
- if [ "$TRAVIS_BRANCH" = "master" ] && [ -n "$BINTRAY_USER" ] && [ -n "$PUBLISH" ]; then
./gradlew artifactoryPublish -PbintrayUsername="${BINTRAY_USER}" -PbintrayApiKey="${BINTRAY_KEY}";
fi
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
addons:
sonarcloud:
organization: "resilience4j" # the key of the org you chose at step #3
token:
secure: $SONAR_TOKEN # Set in the settings page of your repository, as a secure variable
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
env:
global:
- secure: nOtAW6cNMwPwU7KTIwmEnEpksjDRZN1iPV65V2ZZZ+Qpvry+bhzMcf6ZqSAznMUHlAZrHrk47eDb/39hzT4RED1RSPgYFfIni+ktU10A7i+60kpRUF37yTl2WT95h/oNZ2eZuXZNApthBOW+tDHz58Y0ZW2ta9YS/V4XtaQXQC/2C+Po3LmBsInuncipuj4NJtzS7/j/Ybl7fkDrROuprlY4jKUrQs3KEl4uuyw13rZqHd9FMaLhhD+zo0Ej5Hk/M5JUQIWKko5WAZssTcIxeYUWsp9b/Sfu14o82a76Wtq7pQkf8iKJL7TjLNp5v/De4rbGpsUUNOXlGvXFAAJd1iTPoAeklFb160AR5XBVmtuyLLCPKSqw640GPuPx8qdLHwbejsgzGMSGS24rDeTRV2vNuKRge4JGwOLnHTE+aKjVVmu2DFN2enNrsL5KvAA6C/qYwAN5M7QacY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